Re: ZooKeeper ClassNotFound when loading data from HBase 0.9.3 with Pig 0.8.1

2011-06-09 Thread Juan Martin Pampliega
I had finally got it working by compiling with "ant jar-withouthadoop" and then adding the zookeeper jar to the classpath. As you said I had only included the directory where it was and not the actual jar. Thanks for the help! On Wed, Jun 8, 2011 at 7:00 PM, Dmitriy Ryaboy wrote: > Looking at t

Re: ZooKeeper ClassNotFound when loading data from HBase 0.9.3 with Pig 0.8.1

2011-06-08 Thread Dmitriy Ryaboy
Looking at the values in classpath, the zookeeper jar is not listed. It should be bundled into pig-0.8.1-SNAPSHOT.jar (you can check by running `jar tf pig-0.8.1-SNAPSHOT.jar | grep Zoo`), but if not, you should be able to get this to work by ensuring that the zookeeper jar (not just the directory

Re: ZooKeeper ClassNotFound when loading data from HBase 0.9.3 with Pig 0.8.1

2011-06-05 Thread Juan Martin Pampliega
Thanks for your help Dmitriy. When I run with the -secretDebugCmd I get the following output: /usr/lib/jvm/java-6-sun/bin/java -Xmx1000m -Dpig.log.dir=/home/user1/pig-0.8.1/bin/../logs -Dpig.log.file=pig.log -Dpig.home.dir=/home/user1/pig-0.8.1/bin/.. -Dpig.root.logger=INFO,console,DRFA -classpath

Re: ZooKeeper ClassNotFound when loading data from HBase 0.9.3 with Pig 0.8.1

2011-06-03 Thread Dmitriy Ryaboy
It should work if the ZK jar is in your classpath. Try "pig -secretDebugCmd" to check how the classpath is set. Are you using the fat jar or the no-hadoop jar? D On Fri, Jun 3, 2011 at 1:18 PM, Juan Martin Pampliega wrote: > I'm trying to load data from HBase and process it with Pig. I'm running