Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-2942

Use getOrStart in IgniteContext instead of current try-catch structure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0.final
    • None
    • spark
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ascherbakov Alexey Scherbakov
              agoncharuk Alexey Goncharuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: