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

Duo Zhang commented on HBASE-19598:
-----------------------------------

{noformat}
java.lang.NullPointerException
        at 
org.apache.hadoop.hbase.master.TestAssignmentManagerMetrics.after(TestAssignmentManagerMetrics.java:100)
{noformat}

The stacktrace is a bit strange, I see this in log

{noformat}
2018-03-09 19:43:30,445 INFO  [Time-limited test] 
hbase.HBaseTestingUtility(1103): Shutting down minicluster
{noformat}
This means we have already entered the shutdownMiniCluster method in HBTU, so 
the NPE should be in the shutdownMiniCluster method. I've also saw this for 
TestRestartCluster once on the flakey test finder. Let me close this issue and 
open a new one.

> Fix TestAssignmentManagerMetrics flaky test
> -------------------------------------------
>
>                 Key: HBASE-19598
>                 URL: https://issues.apache.org/jira/browse/HBASE-19598
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.0.0-beta-1
>            Reporter: Balazs Meszaros
>            Assignee: stack
>            Priority: Major
>             Fix For: 2.0.0
>
>         Attachments: HBASE-19598-addendum.patch, 
> 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, HBASE-19598.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
(v7.6.3#76005)

Reply via email to