You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2016/04/01 22:49:25 UTC

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

     [ https://issues.apache.org/jira/browse/IGNITE-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valentin Kulichenko reassigned IGNITE-2942:
-------------------------------------------

    Assignee: Valentin Kulichenko

> 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: Valentin Kulichenko
>
> 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)