Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 18AAF200C09 for ; Wed, 21 Dec 2016 01:54:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 17546160B29; Wed, 21 Dec 2016 00:54:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 85122160B33 for ; Wed, 21 Dec 2016 01:53:59 +0100 (CET) Received: (qmail 78982 invoked by uid 500); 21 Dec 2016 00:53:58 -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 78709 invoked by uid 99); 21 Dec 2016 00:53:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2016 00:53:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7A2012C2A6C for ; Wed, 21 Dec 2016 00:53:58 +0000 (UTC) Date: Wed, 21 Dec 2016 00:53:58 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16008) A robust way deal with early termination of HBCK MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 21 Dec 2016 00:54:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-16008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-16008: ----------------------------------- Fix Version/s: 0.98.24 > A robust way deal with early termination of HBCK > ------------------------------------------------ > > Key: HBASE-16008 > URL: https://issues.apache.org/jira/browse/HBASE-16008 > Project: HBase > Issue Type: Improvement > Components: hbck > Reporter: Stephen Yuan Jiang > Assignee: Stephen Yuan Jiang > Fix For: 2.0.0, 1.4.0, 0.98.24 > > Attachments: HBASE-16008-0.98.patch, HBASE-16008.v0-master.patch, HBASE-16008.v1-branch-1.patch, HBASE-16008.v1-master.patch > > > When HBCK is running, we want to disable Catalog Janitor, Balancer and Split/Merge. Today, the implementation is not robust. If HBCK is terminated earlier by Control-C, the changed state would not be reset to original. > HBASE-15406 was trying to solve this problem for Split/Merge switch. The implementation is complicated, and it did not solve CJ and Balancer. > The proposal to solve the problem is to use a znode to indicate that the HBCK is running. CJ, balancer, and Split/Merge switch all look for this znode before doing it operation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)