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

zhangduo commented on HBASE-13150:
----------------------------------

I think the problem maybe HBASE-11611. HBASE-11611 cleaned up zk related codes. 
But in nodeDeleted method, we will check if the onlined region is belonged to a 
disabled table. If so, we will offline the region.
{code:title=AssignmentManager.java}
                  if (disabled) {
                    // if server is offline, no hurt to unassign again
                    LOG.info("Opened " + regionNameStr
                        + "but this table is disabled, triggering close of 
region");
                    unassign(regionInfo);
                  }
{code}
So the unit test is only flaky on master.
See the full code here: 
https://github.com/apache/hbase/blob/branch-1/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java

I have not found codes with same function in master, so this maybe the reason? 
[~stack] [~jxiang]



> TestMasterObserver failing disable table at end of test
> -------------------------------------------------------
>
>                 Key: HBASE-13150
>                 URL: https://issues.apache.org/jira/browse/HBASE-13150
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: stack
>            Assignee: stack
>
> I see in 
> https://builds.apache.org/view/H-L/view/HBase/job/HBase-TRUNK/6202/testReport/junit/org.apache.hadoop.hbase.coprocessor/TestMasterObserver/testRegionTransitionOperations/
>   , now we have added in timeouts, that we are failing to disable a table. It 
> looks like table is disabled but regions are being opened on the disabled 
> table still, like HBASE-6537
> Let me see if can figure why this happening. Will be back.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to