[
https://issues.apache.org/jira/browse/HBASE-19598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16381550#comment-16381550
]
stack commented on HBASE-19598:
-------------------------------
So, to bring this issue up to date, TestAssignmentManagerMetrics has not been
fixed on branch-2 nor on master branch. It was disabled by HBASE-19656 so could
cut hbase-2.0.0-beta-1. It was not disabled in master at the time. I just
cherry-picked the HBASE-19656 disabling JIRA to master so hopefully master
builds will start passing. In meantime, we can figure out what is going on in
this issue.
It fails for me locally. We are supposed to be shutting down but in thread
dump, there is a Master trying to become active Master
{code}
"M:0;localhost:52152" #169 daemon prio=5 os_prio=31 tid=0x00007fe16556e800
nid=0x13203 in Object.wait() [0x000070000a6ca000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at org.apache.hadoop.hbase.util.Sleeper.sleep(Sleeper.java:92)
- locked <0x000000071519c020> (a java.lang.Object)
at org.apache.hadoop.hbase.util.Sleeper.sleep(Sleeper.java:56)
at
org.apache.hadoop.hbase.master.HMaster.waitForMasterActive(HMaster.java:664)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.initializeZooKeeper(HRegionServer.java:881)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.preRegistrationInitialization(HRegionServer.java:825)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:927)
at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:571)
at java.lang.Thread.run(Thread.java:745)
{code}
... and a Master thread is latched trying to run a modify table procedure.
There is a missing check on whether cluster/master is up in here somewhere.
TODO.
Let me update the current state of this patch.
> 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, 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)