Duo Zhang commented on HBASE-19598:

Seems a one line change can fix the test.

In JVMClusterUtil.shutdown, change the 'activeMaster.master.shutdown();' to 

We are stuck in the HMaster.waitForMasterActive method when shutting down, and 
stopMaster will set stopped to true and free us. Still need to dig more to see 
why other tests do not have the same problem...

[~stack] FYI.

> Fix TestAssignmentManagerMetrics flaky test
> -------------------------------------------
>                 Key: HBASE-19598
>                 URL: https://issues.apache.org/jira/browse/HBASE-19598
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-1
>            Reporter: Balazs Meszaros
>            Assignee: stack
>            Priority: Major
>         Attachments: HBASE-19598.master.001.patch, 
> HBASE-19598.master.002.patch, HBASE-19598.master.003.patch, 
> HBASE-19598.master.003.patch, HBASE-19598.master.004.patch, TestUtil.java
> TestAssignmentManagerMetrics fails constantly. After bisecting, it seems that 
> commit 010012cbcb broke it (HBASE-18946).
> The test method runs successfully, but it cannot shut the minicluster down, 
> and hangs forever.

This message was sent by Atlassian JIRA

Reply via email to