[ https://issues.apache.org/jira/browse/IGNITE-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247156#comment-15247156 ]
Denis Magda commented on IGNITE-2942: ------------------------------------- Thanks for the contribution. Reviewed final changes and merged into the master. > 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 > Assignee: Alexei Scherbakov > > 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)