You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Mahadev Konar <ma...@yahoo-inc.com> on 2010/12/01 04:24:15 UTC

Re: bug in ZooKeeperSever.java

Hi Ling,
 Please open a jira for this.

Thanks
mahadev


On 11/4/10 3:29 PM, "Ling Liu" <LL...@linkedin.com> wrote:

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.

Ling