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 EE9B6E06A for ; Sat, 9 Feb 2013 10:07:40 +0000 (UTC) Received: (qmail 22185 invoked by uid 500); 9 Feb 2013 10:07:38 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 21887 invoked by uid 500); 9 Feb 2013 10:07:37 -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 21814 invoked by uid 99); 9 Feb 2013 10:07:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2013 10:07:34 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ramkrishna.s.vasudevan@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qc0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2013 10:07:28 +0000 Received: by mail-qc0-f173.google.com with SMTP id b12so1704323qca.18 for ; Sat, 09 Feb 2013 02:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=/WWbXUlvFXl1AoZ6WY66QEQPgLKO5jpgI+p/Ah5MFvM=; b=IjsSxjdpAQkUCjWnC8aBoyz5KvvQEdQ98zrbq1SXJd+WaByqJTXCAtnvogjEbktBPo qiE4PQg0qMAJcckboqeZH3ckek+MfH+a0W69G3PoHvwi0rTqqEH4L22hDmyGVow+gv3A qoBnKPn4UWBf5V5XrTY9QowIdpP/PjtrVO5fv58tjd9qWGzoRotswOJnuZ5lXEh87/0T Bh5DsfjQoeWFth6n7+LRc/zIn7O26RRKpn5vh0Qkn2Csost7cPiSKIL86ZbBuEVxqOqQ NIxt5nv4iT7PXtE6YGkWg5kJxZLbJwEApT01BO358sDybA3eI2/+JOrMF8Sg18JJJDgn ydxw== MIME-Version: 1.0 X-Received: by 10.224.188.82 with SMTP id cz18mr3098606qab.71.1360404427475; Sat, 09 Feb 2013 02:07:07 -0800 (PST) Received: by 10.49.128.202 with HTTP; Sat, 9 Feb 2013 02:07:07 -0800 (PST) In-Reply-To: References: Date: Sat, 9 Feb 2013 15:37:07 +0530 Message-ID: Subject: Re: Regions in transition From: ramkrishna vasudevan To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=485b397dd4fba68a1e04d547d647 X-Virus-Checked: Checked by ClamAV on apache.org --485b397dd4fba68a1e04d547d647 Content-Type: text/plain; charset=ISO-8859-1 Okie. So if you don't mind can you attach your logs. What is the split policy and what is the size of the region? Its better we take a look at it and solve the problem if it is a kernel problem. Regards Ram On Fri, Feb 8, 2013 at 6:09 PM, kiran wrote: > after some searching i found that main reason for regions with same keys is > splitting and it is the culprit in our case for inconsistency. But I set my > filesize to a very large size but i am unsure why still splitting is > happening > > > On Fri, Feb 8, 2013 at 1:20 PM, kiran wrote: > > > Thanks samar and ramakrishna > > > > I did use option 2 and deleted /hbase from the zkcli shell. I restarted > > the cluster now there are more regions in transition. Will it take some > > time to complete since it is a new assignment ? > > > > My hase version is 0.94.1, and I have a doubt with the property > > hbase.hregion.max.filesize. I set it to a very large value of 100GB. But > > some how table regions are not splitted as per the property. > > > > > > On Fri, Feb 8, 2013 at 12:45 PM, samar kumar >wrote: > > > >> May be ./bin/hbase hbck -repairHoles could be helpful.. > >> > >> > >> On 08/02/13 12:38 PM, "Samir Ahmic" wrote: > >> > >> >Hi, Kiran > >> > > >> >Welcome to beautiful world of HBase transition states :) . When i face > >> >RIT issue this are steps that i use to resolve it: > >> > > >> >1. hbase hbck -fixAssignments (this depends on your version of hbase > >> >it can be also just -fix) > >> > > >> >If you don't have luck with 1. then you will need manual intervention: > >> >Remove hbase znodes from zookeeper (use hbase zkcli) and options rmr > >> >(or delete ) /hbase, and then restart cluster. > >> > > >> >This should help you resolve RITs. > >> > > >> >Regards > >> > > >> > > >> > > >> >On Fri, Feb 8, 2013 at 7:50 AM, kiran > >> wrote: > >> >> PENDING_OPEN > >> >> > >> >> > >> >> On Fri, Feb 8, 2013 at 12:16 PM, samar kumar > >> >>wrote: > >> >> > >> >>> Can you mention the state of the region.. You can find the details > in > >> >>>you > >> >>> master status page > >> >>> > >> >>> On 08/02/13 12:09 PM, "kiran" wrote: > >> >>> > >> >>> >We ran the command unassign 'REGIONNAME',true the output is > >> >>>"completed in > >> >>> >57 sec", but still region is in transition. > >> >>> > > >> >>> > > >> >>> >On Fri, Feb 8, 2013 at 12:05 PM, samar kumar > >> >>> >wrote: > >> >>> > > >> >>> >> Was the unassigning successful ? > >> >>> >> > >> >>> >> If not you can force it by - unassign 'REGIONNAME', true > >> >>> >> > >> >>> >> Regards, > >> >>> >> Samar > >> >>> >> > >> >>> >> > >> >>> >> > >> >>> >> On 08/02/13 12:01 PM, "kiran" > wrote: > >> >>> >> > >> >>> >> >i issued unassign and close_region both but the region is still > in > >> >>> >> >transition also I deleted the .META entry for the region. Do I > >> >>>need to > >> >>> >> >restart master ? > >> >>> >> > > >> >>> >> > > >> >>> >> >On Fri, Feb 8, 2013 at 11:18 AM, samar kumar > >> >>> >> >wrote: > >> >>> >> > > >> >>> >> >> Regions should never overlap > >> >>> >> >> Incase a region is in transition for a long long time, you > could > >> >>> >> >>possibly > >> >>> >> >> force Unassign a region , if you are ok to lose the region. > >> >>> >> >> Regards, > >> >>> >> >> Samar > >> >>> >> >> > >> >>> >> >> On 08/02/13 11:14 AM, "kiran" > >> >>>wrote: > >> >>> >> >> > >> >>> >> >> > are always in transition ? Because of the > >> >>> >> >> >cluster is not balancing and regionservers are going down one > >> by > >> >>> >>one. > >> >>> >> >>As > >> >>> >> >> >only some regions servers are handling the requests. > >> >>> >> >> > > >> >>> >> >> >Another wierd thing is the region stuck in transition > startkey > >> >>> >>matches > >> >>> >> >> >with > >> >>> >> >> > >> >>> >> >> > >> >>> >> >> > >> >>> >> > > >> >>> >> > > >> >>> >> >-- > >> >>> >> >Thank you > >> >>> >> >Kiran Sarvabhotla > >> >>> >> > > >> >>> >> >-----Even a correct decision is wrong when it is taken late > >> >>> >> > >> >>> >> > >> >>> >> > >> >>> > > >> >>> > > >> >>> >-- > >> >>> >Thank you > >> >>> >Kiran Sarvabhotla > >> >>> > > >> >>> >-----Even a correct decision is wrong when it is taken late > >> >>> > >> >>> > >> >>> > >> >> > >> >> > >> >> -- > >> >> Thank you > >> >> Kiran Sarvabhotla > >> >> > >> >> -----Even a correct decision is wrong when it is taken late > >> > >> > >> > > > > > > -- > > Thank you > > Kiran Sarvabhotla > > > > -----Even a correct decision is wrong when it is taken late > > > > > > > -- > Thank you > Kiran Sarvabhotla > > -----Even a correct decision is wrong when it is taken late > --485b397dd4fba68a1e04d547d647--