Sounds like this could be a classpath issue? Does your classpath include the hbase conf/ directory (so it can pick up hbase-default.xml)?
What is it set to? On Wed, Dec 2, 2009 at 10:58 AM, Tux Racer <[email protected]> wrote: > Hello Hbase users, > > I tried to write a jython 2.5.1 hbase client on 0.20.2 but get a zookeeper > exception (following the wiki http://wiki.apache.org/hadoop/Hbase/Jython) > > >>> conf=HBaseConfiguration() > >>> admin=HBaseAdmin(conf) > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:306) > at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at > org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:163) > > org.apache.hadoop.hbase.MasterNotRunningException: > org.apache.hadoop.hbase.MasterNotRunningException: java.io.IOException: > Could not read quorum servers from zoo.cfg > > Any idea where that comes from? > This is the zookeeper config from the default distribution (one node on the > local file system). > > Thanks in advance > TR > >
