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

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

bq. NSRE will cause prepare(true), which in turn will force relocateRegion 
instead of locateRegion, right?
Yes.

relocateRegion() calls isTableDisabled().
The rest of description above is correct.

> 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, 11974-v4.txt, 11974-v5.txt, 11974-v6.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)

Reply via email to