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

CLI tool says 'Can't start the node' even though the node is successfully started

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      ignite node start command fails with the following message even though the node actually starts:

      Starting a new Ignite node...
      Can't start the node. Read logs for details: /Users/vkulichenko/GridGain/ignite-3/target/apache-ignite-3.0.0-alpha3/ignite-log/node-1.log
      

      Looks like this happens because there is the following line in the log:

      Oct 05, 2021 3:41:45 PM org.apache.ignite.lang.IgniteLogger logInternalExceptional
      

      The tool treats it as a failure because of this condition (see NodeManager class):

      else if (content.contains("Exception"))
          throw new IgniteCLIException("Can't start the node. Read logs for details: " + file);
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vkulichenko Valentin Kulichenko
            vkulichenko Valentin Kulichenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 20m
                20m

                Slack

                  Issue deployment