[jira] [Created] (IGNITE-2942) Use getOrStart in IgniteContext instead of current try-catch structure

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-2942) Use getOrStart in IgniteContext instead of current try-catch structure

Anton Vinogradov (Jira)
Alexey Goncharuk created IGNITE-2942:
----------------------------------------

             Summary: Use getOrStart in IgniteContext instead of current try-catch structure
                 Key: IGNITE-2942
                 URL: https://issues.apache.org/jira/browse/IGNITE-2942
             Project: Ignite
          Issue Type: Bug
          Components: Ignite RDD
    Affects Versions: 1.5.0.final
            Reporter: Alexey Goncharuk


IgniteContext initialization code will throw an IgniteIllegalStateException in a case when configuration is invalid: start() will throw an exception, exception is caught and, assuming that Ignite instance is already started, Ignition.ignite() is called again.
Need to use getOrStart() method instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)