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 3048011C6C for ; Wed, 16 Apr 2014 07:16:24 +0000 (UTC) Received: (qmail 62427 invoked by uid 500); 16 Apr 2014 07:16:19 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 62397 invoked by uid 500); 16 Apr 2014 07:16:19 -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 62175 invoked by uid 99); 16 Apr 2014 07:16:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2014 07:16:17 +0000 Date: Wed, 16 Apr 2014 07:16:17 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10955) HBCK leaves the region in masters in-memory RegionStates if region hdfs dir is lost 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-10955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13970530#comment-13970530 ] Hudson commented on HBASE-10955: -------------------------------- SUCCESS: Integrated in HBase-TRUNK #5088 (See [https://builds.apache.org/job/HBase-TRUNK/5088/]) HBASE-10955 HBCK leaves the region in masters in-memory RegionStates if region hdfs dir is lost (enis: rev 1587772) * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsckRepair.java * /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java > HBCK leaves the region in masters in-memory RegionStates if region hdfs dir is lost > ----------------------------------------------------------------------------------- > > Key: HBASE-10955 > URL: https://issues.apache.org/jira/browse/HBASE-10955 > Project: HBase > Issue Type: Bug > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 0.99.0 > > Attachments: hbase-10955.v1.patch > > > One of our tests removes the hdfs directory for the region, and invokes HBCK to fix the issue. This test fails flakily because the region is removed from meta and unassigned, but the region is not offlined from the masters in-memory. This affects further LB runs and disable table, etc. > In case of {{inMeta && !inHdfs && isDeployed}}, we should not just close the region from RS, but call master.unassign(). -- This message was sent by Atlassian JIRA (v6.2#6252)