Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 50079 invoked from network); 12 Jan 2011 11:13:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2011 11:13:50 -0000 Received: (qmail 31037 invoked by uid 500); 12 Jan 2011 11:13:49 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 30755 invoked by uid 500); 12 Jan 2011 11:13:46 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 30746 invoked by uid 99); 12 Jan 2011 11:13:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 11:13:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wenhao.xu@gmail.com designates 74.125.82.51 as permitted sender) Received: from [74.125.82.51] (HELO mail-ww0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 11:13:39 +0000 Received: by wwe15 with SMTP id 15so457402wwe.20 for ; Wed, 12 Jan 2011 03:13:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=F3p71oFjd4wX0RHcKUPHT504rOn6zFUpDeBleNPcE3o=; b=etZUpOAElLVC4HPxWLy5KdO2jX8Jsv0vEjWl43WIMBQssJcurQ3fFABZo8DSQr6zEx otJ7sZ79UACdp0hDkA78Ki6B9ytdSaJM2lkTI2KlS+pmFiwxyF2W6z4F57JlPqngu2/H Pnnz45eslrA/9auSyNoPraiiRZHN8Zk/St9Tc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TnJ43aPESY3Ut7/VHPTSalmpL8q7ke5DBDhChEOoEM6AcFfY97gd0VtozuQvSHWoBs aNgpP/xUBuCfOZ2VmQuljhUu3SC1cGY8Vy/o2/1BYGZ56ddhjSNJYexbrP2IZJN0Tz0N hUpeYy+9WshzFTq7DPAiPBR3svc17h9MNIeYA= MIME-Version: 1.0 Received: by 10.216.160.1 with SMTP id t1mr4047209wek.2.1294830797783; Wed, 12 Jan 2011 03:13:17 -0800 (PST) Received: by 10.216.15.214 with HTTP; Wed, 12 Jan 2011 03:13:17 -0800 (PST) Date: Wed, 12 Jan 2011 19:13:17 +0800 Message-ID: Subject: How to avoid hole in regions with hbase 0.20.4? From: Stanley Xu To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=0016367b62ecbf04700499a449b0 X-Virus-Checked: Checked by ClamAV on apache.org --0016367b62ecbf04700499a449b0 Content-Type: text/plain; charset=ISO-8859-1 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 for region URLTag, http://msn.ent.ynet.com/view.jsp\x3Foid=49939357\x26pageno=10,1294742159472, row 'http://msn.ent.ynet.com/view.jsp\x3Foid=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 --0016367b62ecbf04700499a449b0--