hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vidhyashankar Venkataraman <vidhy...@yahoo-inc.com>
Subject ZK ConnectionLossException/ NoServerForRegionException
Date Tue, 18 May 2010 19:15:58 GMT
This might be a silly question: But, I had rejumped my cluster and started to run Hbase on
a smaller set of nodes (5 regionservers).. The hbase ruby shell works: creates tables, inserts
tables and such.. I can access the wen interface including the root and the meta regions..
The hbase path in HDFS is /hbase.. And obviously (from the previous sentences), it exists
and seems to have the required files..
bash-3.00$ hadoop fs -ls /hbase
Found 5 items
drwxr-xr-x   - user user          0 2010-05-18 18:49 /hbase/-ROOT-
drwxr-xr-x   - user user          0 2010-05-18 18:49 /hbase/.META.
drwxr-xr-x   - user user          0 2010-05-18 18:49 /hbase/.logs
drwxr-xr-x   - user user          0 2010-05-18 18:50 /hbase/DocData
-rw-r--r--   3 user user          3 2010-05-18 18:49 /hbase/hbase.version


 But when I run a map reduce job to load my data into a database, I get the following exception..
There are 3 zk nodes and they are in nodes different from the region servers..


2010-05-18 18:16:02,991 WARN org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Failed to
create /hbase -- check quorum servers, currently=localhost:2181
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
for /hbase
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
    at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:608)
    at org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureExists(ZooKeeperWrapper.java:405)
    at org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.ensureParentExists(ZooKeeperWrapper.java:428)
    at org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.checkOutOfSafeMode(ZooKeeperWrapper.java:541)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRootRegion(HConnectionManager.java:957)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:625)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.relocateRegion(HConnectionManager.java:607)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:738)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:634)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.relocateRegion(HConnectionManager.java:607)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:738)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:638)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:601)
    at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:128)
    at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:106)
    at org.apache.hadoop.hbase.mapreduce.TableOutputFormat.getRecordWriter(TableOutputFormat.java:116)
    at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:573)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305)
    at org.apache.hadoop.mapred.Child.main(Child.java:159)
2010-05-18 18:16:03,993 ERROR org.apache.hadoop.hbase.mapreduce.TableOutputFormat: org.apache.hadoop.hbase.client.NoServerForRegionException:
Timed out trying to locate root region
2010-05-18 18:16:03,995 WARN org.apache.hadoop.mapred.Child: Error running child
org.apache.hadoop.hbase.client.NoServerForRegionException: Timed out trying to locate root
region
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRootRegion(HConnectionManager.java:976)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:625)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.relocateRegion(HConnectionManager.java:607)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:738)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:634)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.relocateRegion(HConnectionManager.java:607)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:738)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:638)
    at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:601)
    at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:128)
    at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:106)
    at org.apache.hadoop.hbase.mapreduce.TableOutputFormat.getRecordWriter(TableOutputFormat.java:116)
    at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:573)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305)
    at org.apache.hadoop.mapred.Child.main(Child.java:159)
2010-05-18 18:16:03,997 INFO org.apache.hadoop.mapred.Task: Runnning cleanup for the task

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