Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91278109FE for ; Tue, 10 Dec 2013 14:17:59 +0000 (UTC) Received: (qmail 18456 invoked by uid 500); 10 Dec 2013 14:17:55 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 18400 invoked by uid 500); 10 Dec 2013 14:17:51 -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 18374 invoked by uid 99); 10 Dec 2013 14:17:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 14:17:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kevin.odell@cloudera.com designates 209.85.216.49 as permitted sender) Received: from [209.85.216.49] (HELO mail-qa0-f49.google.com) (209.85.216.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 14:17:38 +0000 Received: by mail-qa0-f49.google.com with SMTP id ii20so3710181qab.15 for ; Tue, 10 Dec 2013 06:17:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Zc3SFTdFAXBgo6pxAczSpBO0R2NhZspsKLzSlsX322o=; b=Vf0bnvpM75Sz09amvTl8PAM0mOzX6HM9WtwGArhJA3hnlkAGQgum2RTNTExlH0ViDR Dbe25UDw3XG3auwDxegJfL5JfIR6x9cWaAlNMJSotrOGjLy2hgWA+JzWdCCf+g2dYhJ5 clRvPNvqAFTN4YqSFHQX0V+hLJNfiijbEYrWo1NBBVHWSfT4xNwE+x+ulN6rrPsdckj+ kfJuzO7kaIBQeBgBnCl/bERIVuAh2VOYcBDSiMC2yBXjGMjEOo3/B3RZXOMCZnjHumw+ S1R5awigNISRB9BfVz8A5Mi4DEsXhngUCGLAp4UkkSBYRarqoR9+FfDYwbTY+FlhBKKT K/HQ== X-Gm-Message-State: ALoCoQlo3i5p5hvajHLwknDQvCFLjpqlr/RJ/TYXH5Fd9sSStDeqKiBkM/wowAoX70H4Gkmc4+h5 MIME-Version: 1.0 X-Received: by 10.49.101.9 with SMTP id fc9mr44237676qeb.42.1386685037549; Tue, 10 Dec 2013 06:17:17 -0800 (PST) Received: by 10.96.245.12 with HTTP; Tue, 10 Dec 2013 06:17:17 -0800 (PST) In-Reply-To: References: Date: Tue, 10 Dec 2013 09:17:17 -0500 Message-ID: Subject: Re: Problem When Prefetch META table From: "Kevin O'dell" To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11c2bd38146c6004ed2ec5e2 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2bd38146c6004ed2ec5e2 Content-Type: text/plain; charset=ISO-8859-1 Hey Andrea, That is very weird, I hit this similar extremely strange one off issue that I could never reproduce. After dropping a table doing X amount of inserts, I would receive the same error and my META table would be corrupted. What I did to correct this issue was to sideline the META table and then use offlineMetaRepair to rebuild it, and then I never ran into it again. It was quite strange and I am sorry I don't have more to offer. On Tue, Dec 10, 2013 at 8:34 AM, Jean-Marc Spaggiari < jean-marc@spaggiari.org> wrote: > Hi Andrea, > > Which version of HBase are you testing with? > > JM > > > 2013/12/10 Andrea > > > Hi, I encounter this problem: > > > > 13/12/10 13:25:15 WARN > client.HConnectionManager$HConnectionImplementation: > > Encountered problems when prefetch META table: > > java.io.IOException: HRegionInfo was null or empty in Meta for usertable, > > row=usertable,user4300292263938371081,99999999999999 > > at > > org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:170) > > at > > > org.apache.hadoop.hbase.client.MetaScanner.access$000(MetaScanner.java:54) > > at > > > org.apache.hadoop.hbase.client.MetaScanner$1.connect(MetaScanner.java:133) > > at > > > org.apache.hadoop.hbase.client.MetaScanner$1.connect(MetaScanner.java:130) > > at > > > > > org.apache.hadoop.hbase.client.HConnectionManager.execute(HConnectionManager > > .java:360) > > at > > org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:130) > > at > > org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:105) > > at > > > > > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation. > > prefetchRegionCache(HConnectionManager.java:918) > > at > > > > > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation. > > locateRegionInMeta(HConnectionManager.java:973) > > at > > > > > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation. > > locateRegion(HConnectionManager.java:860) > > at > > > > > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation. > > locateRegion(HConnectionManager.java:817) > > at > > > > > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation. > > processBatchCallback(HConnectionManager.java:1507) > > at > > > > > org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation. > > processBatch(HConnectionManager.java:1392) > > at > > org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:918) > > at org.apache.hadoop.hbase.client.HTable.doPut(HTable.java:774) > > at org.apache.hadoop.hbase.client.HTable.put(HTable.java:749) > > at com.yahoo.ycsb.db.HBaseClient.update(HBaseClient.java:328) > > at com.yahoo.ycsb.db.HBaseClient.insert(HBaseClient.java:357) > > at com.yahoo.ycsb.DBWrapper.insert(DBWrapper.java:148) > > at > > com.yahoo.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:461) > > at com.yahoo.ycsb.ClientThread.run(Client.java:269) > > > > It will happen when, on a netowrk with one zookeeper, one master and one > > regionserver I try to load a lot of data. This is the number of > operations > > before the error: > > > > 200 sec: 888708 operations; 7767.62 current ops/sec; [UPDATE > > AverageLatency(us)=27089963] [INSERT AverageLatency(us)=9738.99] [CLEANUP > > AverageLatency(us)=27089976] > > 210 sec: 893742 operations; 502.7 current ops/sec; [UPDATE > > AverageLatency(us)=14887298.5] [INSERT AverageLatency(us)=6937.27] > [CLEANUP > > AverageLatency(us)=14887312.5] > > 221 sec: 928277 operations; 3226.97 current ops/sec; [UPDATE > > AverageLatency(us)=27006074] [INSERT AverageLatency(us)=8529.21] [CLEANUP > > AverageLatency(us)=27006089] > > 231 sec: 930079 operations; 180.18 current ops/sec; [INSERT > > AverageLatency(us)=457.08] > > 13/12/10 13:25:13 WARN > client.HConnectionManager$HConnectionImplementation: > > Encountered problems when prefetch META table: ... > > > > Does this depend on the number of thread in whereby I insert the data? > > > > > -- Kevin O'Dell Systems Engineer, Cloudera --001a11c2bd38146c6004ed2ec5e2--