Hi Ling,
 Please open a jira for this.

Thanks
mahadev


On 11/4/10 3:29 PM, "Ling Liu" <[email protected]> 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


Reply via email to