[ https://issues.apache.org/jira/browse/HBASE-11974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134623#comment-14134623 ]
Enis Soztutar commented on HBASE-11974: --------------------------------------- Yes, it seems that we changed the default behavior in 0.99 for relocateRegion while changing meta lookups. However, {code} if (isTableDisabled(tableName)) {code} is a zk RPC which is pretty costly. We do not want to do that for every rpc retry I think. But I do not have a clean solution. It may be ok to keep the 0.98 behaviour for now. Howver, in this patch, the zk lookup happens even before a retry. We should only do that if this is a retry. > 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 > > > 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)