[ 
https://issues.apache.org/jira/browse/HBASE-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658396#action_12658396
 ] 

Andrew Purtell commented on HBASE-1066:
---------------------------------------

The HBaseAdmin.modifyTable API is perfect for that. Just add op constants and 
backing implementation in HMaster for MODIFY_TABLE_CLOSE, MODIFY_TABLE_OPEN, 
etc. 

> Master should support close/open/reassignment/enable/disable operations on 
> individual regions
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-1066
>                 URL: https://issues.apache.org/jira/browse/HBASE-1066
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>             Fix For: 0.19.0
>
>
> The master should support close/open/reassignment/enable/disable operations 
> on individual regions by way of a client API and corresponding shell 
> command(s), and maybe also controls on the master UI.
>  
> If one region out of 1000s is closed or offline, for example due to transient 
> DFS problems, currently the whole table must be disabled, then reenabled to 
> trigger reassignment and, hopefully, successful (re)open of the offline 
> regions. The flurry of compactions this causes can exacerbate the underlying 
> problem and actually make cluster state worse, as more DFS errors accumulate. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to