zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Hunt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-2964) "Conf" command returns dataDir and dataLogDir opposingly
Date Fri, 19 Jan 2018 00:13:00 GMT

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

Patrick Hunt updated ZOOKEEPER-2964:
------------------------------------
    Affects Version/s: 3.6.0

> "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
>         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)

Mime
View raw message