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

Qihong Xu updated ZOOKEEPER-2964:
---------------------------------
    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|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.

  was:
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]
 print these two paths opposingly. Unlike ZOOKEEPER-2960, the actual paths are 
not affected and server function is ok.


> dataDir and dataLogDir are printed 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
>
> 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)

Reply via email to