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

[jira] [Resolved] (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 ]

Patrick Hunt resolved ZOOKEEPER-2964.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.5.4
                   3.6.0

Issue resolved by pull request 449
[https://github.com/apache/zookeeper/pull/449]

> "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, 3.6.0
>            Reporter: Qihong Xu
>            Priority: Minor
>             Fix For: 3.6.0, 3.5.4
>
>         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
(v7.6.3#76005)