Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1744

clientPortAddress breaks "zkServer.sh status"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.4.5
    • Fix Version/s: 3.4.6, 3.5.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When "clientPortAddress" is used in the config file (zoo.cfg), zkServer.sh's status command runs a grep command that matches both "clientPort" and "clientPortAddress". This creates an extra argument for FourLetterWordMain, which fails, so the status command incorrectly indicates that it couldn't connect to the server.

      Also, "localhost" is hardcoded as the target host for FourLetterWordMain. The "clientPortAddress" should be used if it is provided in the config file.

        Attachments

        1. ZOOKEEPER-1744.patch
          1 kB
          Nick Ohanian
        2. ZOOKEEPER-1744-br34.patch
          1 kB
          Patrick Hunt

          Activity

            People

            • Assignee:
              nickohanian Nick Ohanian
              Reporter:
              nickohanian Nick Ohanian
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: