You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Qihong Xu (JIRA)" <ji...@apache.org> on 2018/01/09 06:34:00 UTC

[jira] [Updated] (ZOOKEEPER-2964) "Conf" command returns dataDir and dataLogDir opposingly

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Qihong Xu updated ZOOKEEPER-2964:
---------------------------------
    Summary: "Conf" command returns dataDir and dataLogDir opposingly  (was: dataDir and dataLogDir are printed opposingly)

> "Conf" command returns dataDir and dataLogDir opposingly
> --------------------------------------------------------
>
>                 Key: ZOOKEEPER-2964
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2964
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.3
>            Reporter: Qihong Xu
>            Priority: Minor
>         Attachments: ZOOKEEPER-2964.patch
>
>
> 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|https://github.com/apache/zookeeper/blob/master/src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java#L188] 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)