[
https://issues.apache.org/jira/browse/YARN-1419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825651#comment-13825651
]
Jason Lowe commented on YARN-1419:
----------------------------------
+1, lgtm. Committing this.
> TestFifoScheduler.testAppAttemptMetrics fails intermittently under jdk7
> ------------------------------------------------------------------------
>
> Key: YARN-1419
> URL: https://issues.apache.org/jira/browse/YARN-1419
> Project: Hadoop YARN
> Issue Type: Bug
> Components: scheduler
> Affects Versions: 3.0.0, 2.3.0, 0.23.10
> Reporter: Jonathan Eagles
> Assignee: Jonathan Eagles
> Priority: Minor
> Labels: java7
> Attachments: YARN-1419.patch, YARN-1419.patch
>
>
> QueueMetrics holds its data in a static variable causing metrics to bleed
> over from test to test. clearQueueMetrics is to be called for tests that need
> to measure metrics correctly for a single test. jdk7 comes into play since
> tests are run out of order, and in the case make the metrics unreliable.
--
This message was sent by Atlassian JIRA
(v6.1#6144)