Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 27D0F7BFC for ; Wed, 28 Sep 2011 04:34:10 +0000 (UTC) Received: (qmail 94002 invoked by uid 500); 28 Sep 2011 04:34:09 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 93963 invoked by uid 500); 28 Sep 2011 04:34:09 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 93935 invoked by uid 99); 28 Sep 2011 04:34:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 04:34:09 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 04:34:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C4F1428C680 for ; Wed, 28 Sep 2011 04:33:45 +0000 (UTC) Date: Wed, 28 Sep 2011 04:33:45 +0000 (UTC) From: "dhruba borthakur (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1305104047.2365.1317184425808.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1263753555.454.1317147225709.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4497) If region opening fails after updating META HBCK reports it as inconsistent and scanning the region throws NSRE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116139#comment-13116139 ] dhruba borthakur commented on HBASE-4497: ----------------------------------------- Can somebody pl elaborate any disadvantages if we make the master be the only entity that can update META about where the region is being served from? > If region opening fails after updating META HBCK reports it as inconsistent and scanning the region throws NSRE > --------------------------------------------------------------------------------------------------------------- > > Key: HBASE-4497 > URL: https://issues.apache.org/jira/browse/HBASE-4497 > Project: HBase > Issue Type: Bug > Reporter: ramkrishna.s.vasudevan > Priority: Critical > > As per the discussion in the mail chain "HBCK reporting of possible mismatch in RS assignment" this JIRA is created. > Consider two RS-> RS1 and RS2. > A region tries to open in RS1. But it takes a while. The RS1 has still not updated meta and transitioned the node from OPENING to OPENED > So timeout assigns the region to RS2. RS2 successfully updates the META and opens the region. > Now RS1 tries to act on the region by first updating the META and then transiting the node to OPENING to OPENED. > RS1 transiting the node to OPENING to OPENED will fail. But the META entry will have RS1 as the latest. > Now HBCK reports this as an inconsistency and if we try to scan the Region we get NotServingRegionException. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira