Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 17563 invoked from network); 15 Oct 2009 18:54:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Oct 2009 18:54:55 -0000 Received: (qmail 7628 invoked by uid 500); 15 Oct 2009 18:54:55 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 7599 invoked by uid 500); 15 Oct 2009 18:54:55 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 7589 invoked by uid 99); 15 Oct 2009 18:54:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 18:54:55 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 18:54:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 583B6234C045 for ; Thu, 15 Oct 2009 11:54:31 -0700 (PDT) Message-ID: <1622455458.1255632871346.JavaMail.jira@brutus> Date: Thu, 15 Oct 2009 11:54:31 -0700 (PDT) From: "Jonathan Gray (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1908) ROOT not reassigned if only one regionserver left In-Reply-To: <1782210178.1255631071379.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766168#action_12766168 ] Jonathan Gray commented on HBASE-1908: -------------------------------------- Binary logic ftw! > ROOT not reassigned if only one regionserver left > ------------------------------------------------- > > Key: HBASE-1908 > URL: https://issues.apache.org/jira/browse/HBASE-1908 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.20.1 > Reporter: Jonathan Gray > Priority: Blocker > Fix For: 0.20.2, 0.21.0 > > > Yannis on the list uncovered an assignment bug: > {quote} > I performed additional testing with some alternate configurations and the problem arises (ONLY) when there is only one regionserver left which has the META table already assigned to it. > In this case the ROOT table does not get assigned to the last regionserver (which holds the META table). > Interestingly enough though when there is only one regionserver left that has the ROOT table already assign to it then it can also have the META table re-assigned to it (if again is the only server - i.e. in this scenario you can have one regionserver holding both the META and ROOT tables). > Unless I am missing something I cannot find any reason why we cannot assign the ROOT table to the regionserver that manages the META table if it is the only one remaining (again it is an extreme case I agree that this can happen). > I applied and tested a fix (at the hbase-0.20.0 codebase) in the RegionManager::regionsAwaitingAssignment where I add the root table in the regionstoAssign set if the it is the metaServer and also the only server. > {quote} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.