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

"Conf" command returns dataDir and dataLogDir opposingly

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.5.3, 3.6.0
    • 3.5.4, 3.6.0
    • server
    • 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

        Activity

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

          People

            Unassigned Unassigned
            xuqihong Qihong Xu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment