hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eagles (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1419) TestFifoScheduler.testAppAttemptMetrics fails intermittently under jdk7
Date Sat, 16 Nov 2013 06:27:22 GMT

     [ https://issues.apache.org/jira/browse/YARN-1419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jonathan Eagles updated YARN-1419:

    Attachment: YARN-1419.patch

Instead of heavily changing the QueueMetrics class and its use of static class variables and
it not unregistering the beans, I've chosen to take a simpler approach of just measuring the
apps submitted delta.

> 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

View raw message