You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nihal Jain (JIRA)" <ji...@apache.org> on 2018/11/16 18:17:00 UTC

[jira] [Commented] (HBASE-21297) ModifyTableProcedure can throw TNDE instead of IOE in case of REGION_REPLICATION change

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

Nihal Jain commented on HBASE-21297:
------------------------------------

Thanks for the review  [~allan163]. Do you mind committing this or should we wait for more reviews?

> 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
>    Affects Versions: 3.0.0, 2.0.0
>            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)