Return-Path: Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: (qmail 23653 invoked from network); 7 Dec 2010 18:16:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Dec 2010 18:16:34 -0000 Received: (qmail 9888 invoked by uid 500); 7 Dec 2010 18:16:34 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 9821 invoked by uid 500); 7 Dec 2010 18:16:34 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 9813 invoked by uid 99); 7 Dec 2010 18:16:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 18:16:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.161.41 as permitted sender) Received: from [209.85.161.41] (HELO mail-fx0-f41.google.com) (209.85.161.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 18:16:28 +0000 Received: by fxm8 with SMTP id 8so102940fxm.14 for ; Tue, 07 Dec 2010 10:16:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=y1qZjJDgHyh3U/NBKvkl7hLM4NABWkaTZgzlZGlHmLw=; b=e06WmmCr9nxf+vdu9y5QeNcW4YuPqrf8UI2JKUoUelTfCvPlytsbjw07xKBc0CIujQ ziPQr64EtusVq0cbHTvxNVQw8U8cZseUvW2LTt1ak8yNtHJDQrQ7ymAohHfAFYOxldNd /OaGVwEQv0kO4ki3+FsEYAtAJDQDF/39AQ77U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YgFZzXwqBq5uMPaFHr7YHlcCje2QdlVd0gS2TCBLvFcjab/zPSg1y8lMK4zW7FELT6 +5wh/IHSCb7BAV9LG7sjmo6AvYFNQ4B5dt81gkA3DVKlnN3fzHQgsUPRHFQ4q4HP0b1y w4KatrHlq3T6vvp1T5Wi9k7mXYimQxSrpdmQo= MIME-Version: 1.0 Received: by 10.223.71.198 with SMTP id i6mr7470616faj.140.1291745766140; Tue, 07 Dec 2010 10:16:06 -0800 (PST) Received: by 10.223.83.200 with HTTP; Tue, 7 Dec 2010 10:16:06 -0800 (PST) In-Reply-To: <853846865-1291677394-cardhu_decombobulator_blackberry.rim.net-1639593731-@bda2307.bisx.prod.on.blackberry> References: <16616384.116971291560610632.JavaMail.jira@thor> <1211721.2551291662087461.JavaMail.jira@thor> <853846865-1291677394-cardhu_decombobulator_blackberry.rim.net-1639593731-@bda2307.bisx.prod.on.blackberry> Date: Tue, 7 Dec 2010 10:16:06 -0800 Message-ID: Subject: Re: [jira] Commented: (HBASE-3312) Region fails to split From: Ted Yu To: dev@hbase.apache.org, apurtell@apache.org Content-Type: multipart/alternative; boundary=20cf3054a8cf87fcbd0496d5ff34 --20cf3054a8cf87fcbd0496d5ff34 Content-Type: text/plain; charset=ISO-8859-1 Andrew: I guess you don't see the following (from line 1356 in Store.checkSplit()) in your log: if (LOG.isDebugEnabled()) { LOG.debug("cannot split because midkey is the same as first or " + "last row"); } Was it possible that the largest StoreFile grew (symmetrically) on both sides of the midkey (which happened to be the start row) ? On Mon, Dec 6, 2010 at 3:16 PM, Andrew Purtell wrote: > I'm catching a flight to Narita, then another to Los Angeles today, and > will look at this when I get home. > > Just so you don't think I dropped this on jira and ran off. :-) > > I also have that OOME issue to look at also, and I wonder if this split > problem is related. > > - Andy > > -----Original Message----- > From: "stack (JIRA)" > Date: Mon, 6 Dec 2010 14:01:27 > To: > Subject: [jira] Commented: (HBASE-3312) Region fails to split > > > [ > https://issues.apache.org/jira/browse/HBASE-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968365#action_12968365] > > stack commented on HBASE-3312: > ------------------------------ > > This is the formatter for the message you see: > > {code} > LOG.info("Split row is not inside region key range or is equal to " + > "startkey: " + Bytes.toString(this.splitrow)); > {code} > > So, when it logs: > > {code} > Split row is not inside region key range or is equal to startkey: > DE0CBA1D6CDFCDD6CBC1065D2C9C1CA17BDA0FAF > {code} > > ... we are actually printing out the proposed 'splitrow' which indeed is > same as the start row. > > Why do we keep picking the same splitrow over and over though region is > large? Must be something dumb we're doing w/ mutliple families or so? > > Good on you Andrew. > > > > > Region fails to split > > --------------------- > > > > Key: HBASE-3312 > > URL: https://issues.apache.org/jira/browse/HBASE-3312 > > Project: HBase > > Issue Type: Bug > > Reporter: Andrew Purtell > > Priority: Critical > > Fix For: 0.90.0 > > > > > > "SplitTransaction: Split row is not inside region key range or is equal > to startkey". > > I stopped writers after realizing one region of the table was growing > unbounded: > > {noformat} > > webtable,DE0CBA1D6CDFCDD6CBC1065D2C9C1CA17BDA0FAF,1291557809928. > > deccb20bcbf8e634008cf093105c4fc5. > > stores=3, storefiles=10, storefileSizeMB=6753, > memstoreSizeMB=2, > > storefileIndexSizeMB=2 > > {noformat} > > In the regionserver log, every compaction of this region fails to split > with the following message: > > {noformat} > > 2010-12-05 09:04:50,156 INFO > org.apache.hadoop.hbase.regionserver.SplitTransaction: > > Split row is not inside region key range or is equal to startkey: > > DE0CBA1D6CDFCDD6CBC1065D2C9C1CA17BDA0FAF > > {noformat} > > However there are many rows in the region: > > {noformat} > > 10/12/05 09:33:33 DEBUG client.HTable$ClientScanner: Advancing internal > scanner > > to startKey at 'DE0CBA1D6CDFCDD6CBC1065D2C9C1CA17BDA0FAF' > > [...] > > Current count: 258000, row: DE424FBDBD15FF3B3E9D0C3DB149ECD29B0F615B > > Current count: 259000, row: DF27251479D6C91B27AA9B1561070A53011A6D1E > > 10/12/05 09:33:36 DEBUG client.HTable$ClientScanner: Finished with region > REGION => > > {NAME => 'webtable,DE0CBA1D6CDFCDD6CBC1065D2C9C1CA17BDA0FAF, > > 1291557809928.deccb20bcbf8e634008cf093105c4fc5.', > > STARTKEY => 'DE0CBA1D6CDFCDD6CBC1065D2C9C1CA17BDA0FAF', > > ENDKEY => 'DF76CF458433DB5D0CB2C50042452B296E3721A7', > > ENCODED => deccb20bcbf8e634008cf093105c4fc5, TABLE => {{NAME => > 'webtable', > > FAMILIES => [{NAME => 'content', BLOOMFILTER => 'NONE', REPLICATION_SCOPE > => '0', > > VERSIONS => '2147483647', COMPRESSION => 'LZO', TTL => '2147483647', > > BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'false'}, > > {NAME => 'info', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', > > VERSIONS => '2147483647', COMPRESSION => 'LZO', TTL => '2147483647', > > BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'false'}, > > {NAME => 'url', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', > > VERSIONS => '1', COMPRESSION => 'LZO', TTL => '2147483647', > > BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}} > > 10/12/05 09:33:36 DEBUG client.HTable$ClientScanner: Advancing internal > scanner > > to startKey at 'DF76CF458433DB5D0CB2C50042452B296E3721A7' > > {noformat} > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > --20cf3054a8cf87fcbd0496d5ff34--