hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanley Xu <wenhao...@gmail.com>
Subject How to avoid hole in regions with hbase 0.20.4?
Date Wed, 12 Jan 2011 11:13:17 GMT
Dear All,

We are using the hbase 0.20.4 on a project, and met the following errors
while insert/update some data to the table today:

org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to contact
region server Some server, retryOnlyOne=true, index=0, islastrow=false,
tries=9, numtries=10, i=0, listsize=2, region=URLTag,
http://msn.ynet.com/view.jsp\x3Foid=76005602\x26pageno=7,1294655021916<http://msn.ynet.com/view.jsp%5Cx3Foid=76005602%5Cx26pageno=7,1294655021916>
for
region URLTag,
http://msn.ent.ynet.com/view.jsp\x3Foid=49939357\x26pageno=10,1294742159472<http://msn.ent.ynet.com/view.jsp%5Cx3Foid=49939357%5Cx26pageno=10,1294742159472>,
row 'http://msn.ent.ynet.com/view.jsp\x3Foid=75954594<http://msn.ent.ynet.com/view.jsp%5Cx3Foid=75954594>',
but failed after 10 attempts.
Exceptions:

at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers$Batch.process(HConnectionManager.java:1167)
~[hbase-0.20.4.jar:na]
at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.processBatchOfRows(HConnectionManager.java:1248)
~[hbase-0.20.4.jar:na]
at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:666)
~[hbase-0.20.4.jar:na]
at org.apache.hadoop.hbase.client.HTable.put(HTable.java:510)
~[hbase-0.20.4.jar:na]
at
com.mediav.contextual.targeting.batch.job.HBaseTaggingJob$HBaseTaggingThread.run(HBaseTaggingJob.java:164)
~[crawler-server.jar:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
[na:1.6.0_22]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
[na:1.6.0_22]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_22]
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[na:1.6.0_22]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[na:1.6.0_22]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_22]

I have searched the mail list and find the following link:
http://search-hadoop.com/m/ile3u1vHa0z1/Trying+to+contact+region+server+Some+server+0.20.4+2278&subj=error+adding+row+to+table+in+0+20+4

Which has the same log as what I met, I am wondering to know if this kind of
"hole" between regions is a bug?  Or we just use the hbase in a wrong way?
And is there anyway I could fix it except merging the regions permanently if
it is a bug in hbase? Like upgrade to a newer version of hbase?

We could fix this by merge the regions that has the problem, but I guess we
will then meet it again.

Best wishes,
Stanley Xu

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