Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4556

Improve error messaging when ZooKeeper port conflicts block startup

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

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.0
    • None
    • Core Framework

    Description

      When starting a cluster, if the ZooKeeper ports conflict (i.e. multiple ZK nodes running on the same physical hardware and attempting to use the same ports), the cluster will not start and the log will be flooded with error messages, making diagnosis difficult.

      The initial error message should indicate that the ZK ports are identical and this may be the cause of the issue (NiFi doesn't know if the ZK hosts are on the same machine, but identical port numbers is suspicious), and the repeated log message should be vastly reduced in output rate.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            alopresto Andy LoPresto

            Dates

              Created:
              Updated:

              Slack

                Issue deployment