hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From llpind <sonny_h...@hotmail.com>
Subject zoo.cfg Problem running service under Jetty
Date Mon, 27 Jul 2009 02:16:41 GMT

Hey,

I'm making HBase calls from a Jetty web server.  I've put zoo.cfg in my
webapps lib folder, and /path/to/hadoop/conf/.

When making Hbase calls I still get the following exception before Jetty
dies:

09/07/26 19:14:13 FATAL zookeeper.ZooKeeperWrapper: Fail to read properties
from zoo.cfg
java.io.IOException: zoo.cfg not found
        at
org.apache.hadoop.hbase.zookeeper.HQuorumPeer.parseZooKeeperConfig(HQuorumPeer.java:86)
        at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.loadZooKeeperConfig(ZooKeeperWrapper.java:188)
        at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.<clinit>(ZooKeeperWrapper.java:61)
        at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getZooKeeperWrapper(HConnectionManager.java:818)
        at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRootRegion(HConnectionManager.java:835)
        at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:514)
        at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:490)
        at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:564)
        at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:523)
        at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:490)
        at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:564)
        at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:527)
        at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:490)
        at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:124)
        at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:107)



-- 
View this message in context: http://www.nabble.com/zoo.cfg-Problem-running-service-under-Jetty-tp24672659p24672659.html
Sent from the HBase User mailing list archive at Nabble.com.


Mime
View raw message