[
https://issues.apache.org/jira/browse/IGNITE-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denis Magda closed IGNITE-2942.
-------------------------------
> 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)