hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4052) Enabling a table after master switch is not allowing table scan. Throws NotServingRegionException
Date Fri, 01 Jul 2011 23:19:28 GMT

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

stack commented on HBASE-4052:
------------------------------

What you say seems plausible Ramkrishna.  I traced your reasoning above and yes, because rebuildUserRegion
adds all regions without regard to whether table is enabled/disabled, when it comes to run
the enable, when it asks what regions to enable, they all look as though they are already
online because of what getRegionsOfTable returns (all regions that make up the table pulled
from this.regions over in AM).

Good stuff.

Do you have a patch Ramkrishna?

> 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

        

Mime
View raw message