hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11974) When a disabled table is scanned, NotServingRegionException is thrown instead of TableNotEnabledException
Date Tue, 16 Sep 2014 00:33:34 GMT

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

Ted Yu commented on HBASE-11974:
--------------------------------

Turns out that changes to HConnectionImplementation.locateRegion() are not easy to manage.

Patch v3 is less intrusive.

TestAdmin#testDisableAndEnableTable and TestHFileOutputFormat2#testMRIncrementalLoadWithSplit
passed.

> When a disabled table is scanned, NotServingRegionException is thrown instead of TableNotEnabledException
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-11974
>                 URL: https://issues.apache.org/jira/browse/HBASE-11974
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 11974-test.patch, 11974-v1.txt, 11974-v2.txt, 11974-v3.txt
>
>
> When a disabled table is scanned, TableNotEnabledException should be thrown.
> However, currently NotServingRegionException is thrown.
> Thanks to Romil Choksi who discovered this problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message