hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: bug in ZooKeeperSever.java
Date Thu, 18 Nov 2010 17:15:03 GMT
Sorry for the slow response but this went into my spam folder and I
only just noticed it.

Please do enter a JIRA for this!
https://issues.apache.org/jira/browse/ZOOKEEPER

Thanks,

Patrick

On Thu, Nov 4, 2010 at 3:29 PM, Ling Liu <LLiu@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
>
>

Mime
View raw message