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

ramkrishna.s.vasudevan commented on HBASE-4052:
-----------------------------------------------

Hi,
Sorry for using wrong terminologies.  I was aware that the Tables are only 
disabled and regions are only onlined or offlined.
I would like to attach the scenarios that needs to be addressed as part of this 
bug

{noformat}
If a table T1 has three regions R1, R2 and R3 
We issue a disable command for T1
Scenario 1:
===========
All the regions R1, R2 and R3 are offlined and the state in zookeeper for the 
table is DISABLED and then the Active master went down,
R1- Offlined
R2- Offlined                    T1-DISABLED
R3-Offlined
        This is straight forward scenario and the handling is also simple.
Scenario:2
==========
All the regions R1, R2 and R3 are offlined but the Active Master went down when 
the zookeeper state for the table was in DISABLING.
R1- Offlined
R2- Offlined                    T1-DISABLING
R3-Offlined
Scenario:3
========
The regions R1, R2 and R3 are not yet offlined and the Active Master went down 
when the zookeeper state was DISABLING.
R1- Online
R2- Online              T1-DISABLING
R3-Online
Scenario:4
========
The regions R1, R2  are offlined and R3 are not yet offlined and the Active 
Master went down when the zookeeper state was DISABLING.
R1- offlined
R2- offlined            T1-DISABLING
R3-Online

{noformat}



> 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

        

Reply via email to