zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ibrahim <i.s.el-san...@newcastle.ac.uk>
Subject Re: Best strategy to test Zookeeper
Date Tue, 11 Nov 2014 05:40:36 GMT
Hi  Alexander

* Thank you for sending the link. I am starting running it. This test uses
the zookeeper-trunk. Because I am using zookeeper 3.4.6. But there is an
error when I run step 2 "Go to zookeeper-trunk\src\contrib\fatjar, run "ant
jar"? 

 [echo] contrib: fatjar
init-contrib:
compile:
     [echo] contrib: fatjar
    [javac]
D:\workspacez\zookeeperallversions\trunk\src\contrib\build-contrib.xml:125:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
jar:
     [echo] contrib: fatjar

BUILD FAILED
D:\workspacez\zookeeperallversions\trunk\src\contrib\fatjar\build.xml:31:
D:\workspacez\zookeeperallversions\trunk\build\test\classes does not exist.

Total time: 380 milliseconds


so is it possible to apply the test (ZOOKEEPER-2023) in 3.4.6? i

* "if I remember correctly the way it measures latency is by writing down
the invocation time in the context object given to an async command. Then
when the callback is invoked you get the context object back and can
calculate the latency." 

Yes, you are right. Also I manage to collect the latency result by plug-in
some line code in Zookeeper  classes (FinalRequestProcessor.java and 
ServerStats.java).


Thank a lot Alexander

Ibrahim




--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/Best-strategy-to-test-Zookeeper-tp7580580p7580586.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

Mime
View raw message