zookeeper-dev mailing list archives

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

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

Mime
View raw message