hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 吕鹏 <lvpengd...@gmail.com>
Subject Two kinds of hbase client exceptions
Date Thu, 20 Oct 2011 14:07:55 GMT
Hello everyone:
    My hbase&hadoop is cdh3u0. To test the cluster, i use 10 client to write
date to hbase concurrently. I implement the client by hbase java api. When
the test run for several hours, the 10 clients are all crashed, and two
kinds of exceptions is catched. How can i solve the problem? (I
set hbase.hregion.max.filesize to 2G, and do not pre-sharding hbase table.
Can this cause the problem?)
Exception in thread "main"
org.apache.hadoop.hbase.client.RegionOfflineException: region offline:
lzo10DB,\x89\xB7\x17\xD2\x08\xA9\x87\xFFg\xE2\x9Fxy8\xD0\x8A\r\xA7\x96\xB9\x9D|D\x8D\xE9\xB1\x8B\x94\xDF5\xA3\xDD\x86O\x7F#f%S\x93\xE0F\x1E|\x07\xF9Q\xF3\xD4,1319046253246.dbc7a6366cdd86019af7d56284dc5d77.
        at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:741)
        at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:593)
        at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatch(HConnectionManager.java:1117)
        at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatchOfPuts(HConnectionManager.java:1237)
        at
org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:819)
        at org.apache.hadoop.hbase.client.HTable.doPut(HTable.java:675)
        at org.apache.hadoop.hbase.client.HTable.put(HTable.java:660)
        at
com.xx.spider.wdb.test.HbaseRandomKeyWriter._doTest(HbaseRandomKeyWriter.java:31)
        at
com.xx.spider.wdb.test.HbaseTestBase.doTest(HbaseTestBase.java:43)
        at com.xx.spider.wdb.test.HbaseTestMain.main(HbaseTestMain.java:48)

Exception in thread "main"
org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed
1 action: NotServingRegionException: 1 time, servers with issues:
sds-179-36:60020,
        at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatch(HConnectionManager.java:1223)
        at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatchOfPuts(HConnectionManager.java:1237)
        at
org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:819)
        at org.apache.hadoop.hbase.client.HTable.doPut(HTable.java:675)
        at org.apache.hadoop.hbase.client.HTable.put(HTable.java:660)
        at
com.xx.spider.wdb.test.HbaseRandomKeyWriter._doTest(HbaseRandomKeyWriter.java:31)
        at
com.xx.spider.wdb.test.HbaseTestBase.doTest(HbaseTestBase.java:43)
        at com.xx.spider.wdb.test.HbaseTestMain.main(HbaseTestMain.java:48)

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