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

Allan Yang commented on HBASE-21297:
------------------------------------

+1

> ModifyTableProcedure can throw TNDE instead of IOE in case of 
> REGION_REPLICATION change
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-21297
>                 URL: https://issues.apache.org/jira/browse/HBASE-21297
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Nihal Jain
>            Assignee: Nihal Jain
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HBASE-21297.master.001.patch
>
>
> Currently {{ModifyTableProcedure}} throws an {{IOException}} (See 
> [ModifyTableProcedure.java#L252|https://github.com/apache/hbase/blob/924d183ba0e67b975e998f6006c993f457e03c20/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ModifyTableProcedure.java#L252])
>  when a user tries to modify REGION_REPLICATION for an enabled table. 
> Instead, it can throw a more specific {{TableNotDisabledException}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to