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 74E7418219 for ; Fri, 29 Jan 2016 01:36:40 +0000 (UTC) Received: (qmail 76325 invoked by uid 500); 29 Jan 2016 01:36:40 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 76268 invoked by uid 500); 29 Jan 2016 01:36:40 -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 76242 invoked by uid 99); 29 Jan 2016 01:36:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2016 01:36:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E67032C1F57 for ; Fri, 29 Jan 2016 01:36:39 +0000 (UTC) Date: Fri, 29 Jan 2016 01:36:39 +0000 (UTC) From: "Jonathan Hsieh (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15128) Disable region splits and merges in HBCK 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-15128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122702#comment-15122702 ] Jonathan Hsieh commented on HBASE-15128: ---------------------------------------- Are we talking just about the hbck vs the master here or the bigger context of having switches and dynamic modes? If we are just focused on hbck, I actually thing it is good that drop table, disable table, alter table and so on are blocked while hbck is doing its thing. > Disable region splits and merges in HBCK > ---------------------------------------- > > Key: HBASE-15128 > URL: https://issues.apache.org/jira/browse/HBASE-15128 > Project: HBase > Issue Type: Bug > Reporter: Enis Soztutar > Assignee: Heng Chen > Fix For: 2.0.0, 1.3.0 > > Attachments: HBASE-15128.patch, HBASE-15128_v1.patch, HBASE-15128_v3.patch > > > In large clusters where region splits are frequent, and HBCK runs take longer, the concurrent splits cause further problems in HBCK since HBCK assumes a static state for the region partition map. We have just seen a case where HBCK undo's a concurrently splitting region causing number of inconsistencies to go up. > We can have a mode in master where splits and merges are disabled like the balancer and catalog janitor switches. Master will reject the split requests if regionservers decide to split. This switch can be turned on / off by the admins and also automatically by HBCK while it is running (similar to balancer switch being disabled by HBCK). > HBCK should also disable the Catalog Janitor just in case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)