hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tux Racer <tuxrace...@gmail.com>
Subject problem writing a jython client
Date Wed, 02 Dec 2009 15:58:58 GMT
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


Mime
View raw message