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

Improve error messaging when ZooKeeper port conflicts block startup

    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

          People

            Unassigned Unassigned
            alopresto Andy LoPresto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: