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

Jimmy Xiang commented on HBASE-9161:
------------------------------------

After the test is done, in the final block, the region is onlined so that we 
can disable/delete the table.  Right after we online the region, the opening 
fake ZK event kicks in and moves the region to OPENING state.  Therefore, the 
table can't be deleted, so the test hangs.  We need to make sure the ZK event 
is processed before we online/offline the region and disable/delete the table.
                
> TestAssignmentManagerOnCluster.testSSHWhenDisablingTableRegionsInOpeningOrPendingOpenState
>  could hang
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9161
>                 URL: https://issues.apache.org/jira/browse/HBASE-9161
>             Project: HBase
>          Issue Type: Test
>          Components: Region Assignment, test
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Minor
>
> http://54.241.6.143/job/HBase-0.95/org.apache.hbase$hbase-server/774/testReport/org.apache.hadoop.hbase.master/TestAssignmentManagerOnCluster/testSSHWhenDisablingTableRegionsInOpeningOrPendingOpenState/
> {noformat}
> 2013-08-08 12:35:18,726 INFO  [Thread-395] master.RegionStates(296): Onlined 
> 33e09bb62a32addd44e30e989a7e291d on 
> ip-10-173-30-152.us-west-1.compute.internal,53845,1375965307696
> 2013-08-08 12:35:18,730 INFO  [Thread-395] client.HBaseAdmin$5(847): Started 
> disable of testSSHWhenDisablingTableRegionsInOpeningOrPendingOpenState
> 2013-08-08 12:35:18,732 DEBUG [AM.ZK.Worker-pool-2-thread-5] 
> master.AssignmentManager(782): Handling transition=RS_ZK_REGION_OPENING, 
> server=ip-10-173-30-152.us-west-1.compute.internal,57696,1375965307654, 
> region=33e09bb62a32addd44e30e989a7e291d, current state from region state map 
> =null
> 2013-08-08 12:35:18,732 INFO  [AM.ZK.Worker-pool-2-thread-5] 
> master.RegionStates(260): Transitioned from {33e09bb62a32addd44e30e989a7e291d 
> state=OPEN, ts=1375965318726, 
> server=ip-10-173-30-152.us-west-1.compute.internal,53845,1375965307696} to 
> {33e09bb62a32addd44e30e989a7e291d state=OPENING, ts=1375965318732, 
> server=ip-10-173-30-152.us-west-1.compute.internal,57696,1375965307654}
> 2013-08-08 12:35:18,736 DEBUG [RpcServer.handler=0,port=40610] 
> lock.ZKInterProcessLockBase(226): Acquired a lock for 
> /hbase/table-lock/testSSHWhenDisablingTableRegionsInOpeningOrPendingOpenState/write-master:406100000000001
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to