Re: How to understand Zookeeper easily and learn to apply ?

2013-05-16 Thread Alexander Shraer
Hi, I'd suggest to start by reading this: http://research.yahoo.com/files/ZooKeeper.pdf Regards, Alex On Thu, May 16, 2013 at 8:56 PM, Dilip Kumar wrote: > Hi All, > > I am new to Zookeeper. In last two weeks I am trying to learn Zookeeper > using JAVA; however so far I only understood verball

How to understand Zookeeper easily and learn to apply ?

2013-05-16 Thread Dilip Kumar
Hi All, I am new to Zookeeper. In last two weeks I am trying to learn Zookeeper using JAVA; however so far I only understood verbally the usage of Zookeeper and able to install it in cluster mode and then able to run Consumer/producer problem. However I am not able to understand it's basic and

RE: Zookeeper test

2013-05-16 Thread Michael Black
OK...I think I answered my own question. For some reason the docs have a backslash in the command which was messing it up. So...remove the backslash and put the version number on the jar and all is good.

RE: Zookeeper test

2013-05-16 Thread Michael Black
I should mention the error and the reference...click send a little too fast. java -cp .:zookeeper-3.4.5.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:li b/log4j-1.2.15.jar:conf:src/java/lib/jline-0.9.94.jar \ org.apache.zookeeper.ZooKeeperMain -server Error: Could not find or load main c

Zookeeper test

2013-05-16 Thread Michael Black
Installing zookeeper-3.4.5 for the first time. I was able to compile with "ant" and start up the server with "bin/zkServer.sh start" on RedHat. But running the test (or the startup) as the docs show doesn't work (Step 6 and Step 7 both don't work). >From the zookeeper directory I run (I n