hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: Running programs under HBase 0.20.0 alpha
Date Mon, 22 Jun 2009 17:53:45 GMT
Hi,

You need to package a valid zoo.cfg on the classpath, either part of the jar, or (as I do
it), everywhere on the cluster at /path/to/hadoop/conf/zoo.cfg. 

However, my understanding for 0.20 release is there will be a default zoo.cfg packaged in
the HBase jar that will assume there is a locally running quorum peer and attempt to contact
it on localhost at the standard port. 

   - Andy




________________________________
From: llpind <sonny_heer@hotmail.com>
To: hbase-user@hadoop.apache.org
Sent: Monday, June 22, 2009 10:45:13 AM
Subject: Running programs under HBase 0.20.0 alpha


Hey All,

I've got HBase 0.20.0 Alpha installed and running.  When i write a class,
and try to run it, I get:

09/06/22 10:39:48 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)
        at HBaseLoaderEntity.populateEntities(HBaseLoaderEntity.java:49)
        at HBaseLoaderEntity.main(HBaseLoaderEntity.java:80)

=======================================================================


I receive this exception when i package a jar or standalone .class file.

-- 
View this message in context: http://www.nabble.com/Running-programs-under-HBase-0.20.0-alpha-tp24152144p24152144.html
Sent from the HBase User mailing list archive at Nabble.com.


      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message