[ https://issues.apache.org/jira/browse/YARN-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008916#comment-14008916 ]
Hudson commented on YARN-2096: ------------------------------ FAILURE: Integrated in Hadoop-Mapreduce-trunk #1782 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1782/]) YARN-2096. Race in TestRMRestart#testQueueMetricsOnRMRestart. (Anubhav Dhoot via kasha) (kasha: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1597223) * /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt * /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMRestart.java > Race in TestRMRestart#testQueueMetricsOnRMRestart > ------------------------------------------------- > > Key: YARN-2096 > URL: https://issues.apache.org/jira/browse/YARN-2096 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Anubhav Dhoot > Assignee: Anubhav Dhoot > Fix For: 2.5.0 > > Attachments: YARN-2096.patch > > > org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testQueueMetricsOnRMRestart > fails randomly because of a race condition. > The test validates that metrics are incremented, but does not wait for all > transitions to finish before checking for the values. > It also resets metrics after kicking off recovery of second RM. The metrics > that need to be incremented race with this reset causing test to fail > randomly. > We need to wait for the right transitions. -- This message was sent by Atlassian JIRA (v6.2#6252)