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 3BFA81090B for ; Tue, 1 Oct 2013 22:38:26 +0000 (UTC) Received: (qmail 90024 invoked by uid 500); 1 Oct 2013 22:38:26 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 89990 invoked by uid 500); 1 Oct 2013 22:38:26 -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 89982 invoked by uid 99); 1 Oct 2013 22:38:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 22:38:25 +0000 Date: Tue, 1 Oct 2013 22:38:25 +0000 (UTC) From: "Jimmy Xiang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9514) Prevent region from assigning before log splitting is done 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-9514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783432#comment-13783432 ] Jimmy Xiang commented on HBASE-9514: ------------------------------------ JD: HBaseFsck#setDisplayFullReport is a static method in trunk, but not in 0.96. Let me fix it. > Prevent region from assigning before log splitting is done > ---------------------------------------------------------- > > Key: HBASE-9514 > URL: https://issues.apache.org/jira/browse/HBASE-9514 > Project: HBase > Issue Type: Bug > Components: Region Assignment > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Priority: Blocker > Fix For: 0.98.0, 0.96.0 > > Attachments: trunk-9514_v1.patch, trunk-9514_v2.patch, trunk-9514_v3.patch, trunk-9514_v5.1.patch, trunk-9514_v5.1.patch, trunk-9514_v5.2.patch, trunk-9514_v5.3.patch, trunk-9514_v5.4.patch, trunk-9514_v5.5.patch, trunk-9514_v5.patch > > > If a region is assigned before log splitting is done by the server shutdown handler, the edits belonging to this region in the hlogs of the dead server will be lost. > Generally this is not an issue if users don't assign/unassign a region from hbase shell or via hbase admin. These commands are marked for experts only in the hbase shell help too. However, chaos monkey doesn't care. > If we can prevent from assigning such regions in a bad time, it would make things a little safer. -- This message was sent by Atlassian JIRA (v6.1#6144)