hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ling Liu <L...@linkedin.com>
Subject bug in ZooKeeperSever.java
Date Thu, 04 Nov 2010 22:29:51 GMT
I found a bug in  this file ( version 3.1.1).

public ZooKeeperServer(File snapDir, File logDir, int tickTime)
            throws IOException {
        this( new FileTxnSnapLog(snapDir, logDir),
                tickTime, new BasicDataTreeBuilder());

the FileTxnSnapLog constructor need logDir as the first parameter and the snapDir as the second
parameter.  Here the ZooKeeperServer  misplace the two parameters.


View raw message