[
https://issues.apache.org/jira/browse/HBASE-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063728#comment-13063728
]
ramkrishna.s.vasudevan commented on HBASE-4052:
-----------------------------------------------
Hi Ted,
I think the test case should work fine in the 0.90 branch.
In the trunk when we do a switch the RS is not able to connect to the new
Master and we get
2011-07-12 11:01:22,602 INFO org.apache.hadoop.hbase.master.ServerManager:
Waiting on regionserver(s) to checkin
2011-07-12 11:01:25,602 INFO org.apache.hadoop.hbase.master.ServerManager:
Waiting on regionserver(s) to checkin
2011-07-12 11:01:28,602 INFO org.apache.hadoop.hbase.master.ServerManager:
Waiting on regionserver(s) to checkin
So when this test case is executing also we get the same problem.
I will try to find why this behaviour is found in trunk and not in 0.90 branch.
Can you please tell me if the
test case is passing in 0.90 branch. Because i have verified locally by
running all the test cases in 0.90 branch and the testcases were passing.
{noformat}
Running org.apache.hadoop.hbase.master.TestMasterRestartAfterDisablingTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.148 sec
Running org.apache.hadoop.hbase.regionserver.TestFSErrorsExposed
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.383 sec
Running org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.044 sec
Running org.apache.hadoop.hbase.regionserver.TestScanDeleteTracker
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec
Running org.apache.hadoop.hbase.client.TestMetaScanner
{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
> Affects Versions: 0.90.3
> Environment: Linux
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 0.90.4
>
> Attachments: 4052.txt, Disabled.bmp, Disabling-1.bmp,
> Disabling-2.bmp, HBASE-4052-1-0.90_1.patch, HBASE-4052-1-_TestCode.patch,
> HBASE-4052-1-trunk_1.patch, HBASE-4052.patch,
> TestMasterRestartAfterDisablingTable.java
>
>
> 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