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 20000106C8 for ; Fri, 11 Oct 2013 17:24:50 +0000 (UTC) Received: (qmail 58896 invoked by uid 500); 11 Oct 2013 17:24:47 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 58864 invoked by uid 500); 11 Oct 2013 17:24:47 -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 58849 invoked by uid 99); 11 Oct 2013 17:24:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Oct 2013 17:24:45 +0000 Date: Fri, 11 Oct 2013 17:24:45 +0000 (UTC) From: "Jimmy Xiang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9696) Master recovery ignores online merge znode 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-9696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13792832#comment-13792832 ] Jimmy Xiang commented on HBASE-9696: ------------------------------------ Currently, for merging znode, we have the new region encoded name (from the znode path), but we don't have its HRegionInfo. Region states map need the HRegionInfo. For splitting znode, we don't have anything about the daughter regions (name or HRI). This patch passes all these info over to master so the master can properly record these regions before the split/merge starts. > Master recovery ignores online merge znode > ------------------------------------------ > > Key: HBASE-9696 > URL: https://issues.apache.org/jira/browse/HBASE-9696 > Project: HBase > Issue Type: Bug > Components: master, Region Assignment > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Fix For: 0.98.0, 0.96.1 > > Attachments: trunk-9696.patch, trunk-9696_v2.1.patch, trunk-9696_v2.patch, trunk-9696_v3.1.patch, trunk-9696_v3.2.patch, trunk-9696_v3.patch, trunk-9696_v3.patch > > > The online merge znode uses the new region to be created. When master restarts, the new region is still unknown if the merging is not completed. Therefore the znode is ignored, which should not. That means the two merging regions could be moved around. This could cause some data loss if we are not luck. -- This message was sent by Atlassian JIRA (v6.1#6144)