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

Using a Deprecated method and uninformative message in console

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.10, 2.9.1
    • general
    • Improved console message regarding cluster activation
    • Docs Required, Release Notes Required

    Description

      When cluster started in INACTIVE status in console writes uninformative message:

      >>> Ignite cluster is not active (limited functionality available). Use control.(sh|bat) script or IgniteCluster interface to activate.

      This message contains two words "active" and not contain word "state".
      From this message, users try use deprecated IgniteCluster.active(boolean active), but need to use IgniteCluster.state(ClusterState newState)

      Also there are 3 calls of this deprecated method IgniteCluster.active in IgniteKernal.class

      Attachments

        Issue Links

          Activity

            People

              kazakov Ilya Kazakov
              kazakov Ilya Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h