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 


Reply via email to