[jira] [Comment Edited] (HBASE-18231) Deprecate and throw unsupported operation when Admin#closeRegion is called.

2017-08-03 Thread Chia-Ping Tsai (JIRA)

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

Chia-Ping Tsai edited comment on HBASE-18231 at 8/3/17 6:37 PM:


The AsyncAdmin is an new feature introduced into 2.0+ so AsyncAdmin#closeRegion 
can be removed.


was (Author: chia7712):
The AsyncAdmin is an new feature introduced into 2.0+ only so 
AsyncAdmin#closeRegion can be removed.

> Deprecate and throw unsupported operation when Admin#closeRegion is called.
> ---
>
> Key: HBASE-18231
> URL: https://issues.apache.org/jira/browse/HBASE-18231
> Project: HBase
>  Issue Type: Sub-task
>  Components: Admin
>Affects Versions: 2.0.0
>Reporter: stack
>Assignee: Appy
>Priority: Critical
> Fix For: 2.0.0, 3.0.0
>
> Attachments: HBASE-18231.master.001.patch, 
> HBASE-18231.master.002.patch, HBASE-18231.master.003.patch
>
>
> [~uagashe] tripped over this today. Admin#closeRegion which we used to use in 
> branch-1 will cause damage in AMv2 cluster. Instead you need to call unassign 
> -- i.e. all cluster ops must go via the Master; no more going direct to 
> RegionServer closing regions behind the Master's back.
> Review all Admin ops to see what else skirts Master and deprecate and throw 
> unsupported if called.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (HBASE-18231) Deprecate and throw unsupported operation when Admin#closeRegion is called.

2017-08-03 Thread Chia-Ping Tsai (JIRA)

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

Chia-Ping Tsai edited comment on HBASE-18231 at 8/3/17 6:35 PM:


The AsyncAdmin is an new feature introduced into 2.0+ only so 
AsyncAdmin#closeRegion can be removed.


was (Author: chia7712):
The AsyncAdmin an new feature introduced into 2.0+ only so 
AsyncAdmin#closeRegion can be removed.

> Deprecate and throw unsupported operation when Admin#closeRegion is called.
> ---
>
> Key: HBASE-18231
> URL: https://issues.apache.org/jira/browse/HBASE-18231
> Project: HBase
>  Issue Type: Sub-task
>  Components: Admin
>Affects Versions: 2.0.0
>Reporter: stack
>Assignee: Appy
>Priority: Critical
> Fix For: 2.0.0, 3.0.0
>
> Attachments: HBASE-18231.master.001.patch, 
> HBASE-18231.master.002.patch, HBASE-18231.master.003.patch
>
>
> [~uagashe] tripped over this today. Admin#closeRegion which we used to use in 
> branch-1 will cause damage in AMv2 cluster. Instead you need to call unassign 
> -- i.e. all cluster ops must go via the Master; no more going direct to 
> RegionServer closing regions behind the Master's back.
> Review all Admin ops to see what else skirts Master and deprecate and throw 
> unsupported if called.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)