Runs in Eclipse but not as a Jar

2012-11-26 Thread Ratner, Alan S (IS)
I am running HBase 0.94.2 running on 6 servers with Zookeeper 3.4.5 running on 3. HBase works from its shell and from within Eclipse but not as a jar file. When I run within Eclipse I can see it worked properly by using the HBase shell commands (such as scan). I seem to have 2 separate prob

Re: Runs in Eclipse but not as a Jar

2012-11-26 Thread Suraj Varma
The difference is your classpath. So -for problem 1, you need to specify jars under /hbase-0.94.2/lib to your classpath. You only need a subset ... but first to get over the problem set your classpath with all these jars. I don't think specifying a wildcard "*" works ... like below ngc@hadoop1:~/h