[
https://issues.apache.org/jira/browse/HBASE-15128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15155673#comment-15155673
]
Heng Chen commented on HBASE-15128:
-----------------------------------
Patch v7 make Admin.MasterSwitchType to be Evolving and fix java checkstyle
and relates ruby script style.
Now,
* relates test has passed,
https://builds.apache.org/job/PreCommit-HBASE-Build/612/testReport/org.apache.hadoop.hbase.client/TestSplitOrMergeStatus/
* Java check style errors have no relates with this patch, Method length has
exceed limit already.
* about ruby style errors, i have fixed relates scripts. Now, the left is due
to unreasonable constraints of ruby checkstyle rules, i have send email to dev
list, [~busbey] give some suggestions, we should make project specific
configuration of rubocop.
http://mail-archives.apache.org/mod_mbox/hbase-dev/201602.mbox/%3CCAGHyZ6Jm2etYpW4dS35pCFLgJ1%2B%2BU-_uPz8fhZpzoMVcTYrpVQ%40mail.gmail.com%3E
Any other suggestions?
> Disable region splits and merges switch in master
> -------------------------------------------------
>
> 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, HBASE-15128_v5.patch, HBASE-15128_v6.patch,
> HBASE-15128_v7.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)