Hi Ivan,

First of all, do I need to have a zookeeper instance running while building
hedwig?

$java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511c)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)

OS - Mac OS X Lion 10.7.3

It does seem that Zookeeper is failing. I've pasted the relevant info (From
"Zookeeper server up and running" till I encounter the error) as an
attachment.

Regards,
Aniruddha







On Fri, Mar 2, 2012 at 1:46 AM, Ivan Kelly <[email protected]> wrote:

> Hi Aniruddha,
>
> It looks like zookeeper has died. Could you turn on logging and run again?
> To turn on logging, change the log4j.rootLogger line in
> hedwig-server/src/test/resources/log4j.properties from "OFF, CONSOLE" to
> "INFO, CONSOLE".
>
> What kind of environment are you running this in? (OS, jvm version, etc)
>
> -Ivan
>
> On 1 Mar 2012, at 20:40, Aniruddha Laud wrote:
>
> > Hi,
> >
> > I'm trying to build the latest release of hedwig and when I run "mvn
> > package", I get build failures. I've pasted the error below. Any idea why
> > this could be happening?
> >
> > Running org.apache.hedwig.server.TestPubSubServerStartup
> > java.lang.Exception: Could not establish connection with ZooKeeper after
> > zk_timeout*2 = 4000 ms. (Default value for zk_timeout is 2000).
> >  at
> >
> org.apache.hedwig.server.netty.PubSubServer.instantiateZookeeperClient(PubSubServer.java:165)
> >
> >  at
> > org.apache.hedwig.server.netty.PubSubServer$3.run(PubSubServer.java:297)
> >  at java.lang.Thread.run(Thread.java:680)
> > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.15 sec
> > <<< FAILURE!
> > Running org.apache.hedwig.server.topics.TestConcurrentTopicAcquisition
> > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.031 sec
> > <<< FAILURE!
> > Running org.apache.hedwig.server.topics.TestZkTopicManager
> > Tests run: 10, Failures: 10, Errors: 0, Skipped: 0, Time elapsed: 0.147
> sec
> > <<< FAILURE!
> > Running org.apache.hedwig.zookeeper.TestZkUtils
> > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec
> > <<< FAILURE!
> >
> > Thanks.
>
>

Reply via email to