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

"Conf" command returns dataDir and dataLogDir opposingly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.3, 3.6.0
    • Fix Version/s: 3.5.4, 3.6.0
    • Component/s: server
    • Labels:
      None

      Description

      I foung a bug that "conf" command would return dataDir and dataLogDir opposingly.

      This bug only exists in versions newer than 3.5. I only found dumpConf in ZookeeperServer.java prints these two paths opposingly. Unlike ZOOKEEPER-2960, the actual paths are not affected and server function is ok.

      I made a small patch to fix this bug. Any review is appreciated.

        Attachments

        1. ZOOKEEPER-2964.patch
          1 kB
          Qihong Xu

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                xuqihong Qihong Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: