[
https://issues.apache.org/jira/browse/HBASE-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060052#comment-13060052
]
Ted Yu commented on HBASE-4052:
-------------------------------
I think one source of confusion in the above description is that DISABLED and
DISABLING states are TableState.
There is no concept of disabling/disabled region.
I would opt for Checking for DISABLED and DISABLING TableState.
I think the BulkAssigner in this case refers to EnableTableHandler.BulkEnabler
which depends on assignmentManager.getRegionsOfTable() for the number of online
regions.
You need to write a new method, e.g.
assignmentManager.getOnlineRegionsOfTable(), and call it in place of
assignmentManager.getRegionsOfTable() in EnableTableHandler.regionsToAssign()
> Enabling a table after master switch is not allowing table scan. Throws
> NotServingRegionException
> --------------------------------------------------------------------------------------------------
>
> Key: HBASE-4052
> URL: https://issues.apache.org/jira/browse/HBASE-4052
> Project: HBase
> Issue Type: Bug
> Environment: Linux
> Reporter: ramkrishna.s.vasudevan
>
> Following is the scenario:
> Start RS and Active and standby masters
> Create table and insert data.
> Disable the table.
> Stop the active master and switch to the standby master.
> Now enable the table.
> Do a scan on the enabled table.
> NotServingRegionException is Thrown.
> But the same works well when we dont switch the master.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira