You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2016/01/21 15:39:40 UTC

[jira] [Created] (YARN-4623) TestSystemMetricsPublisher#testPublishAppAttemptMetricsForUnmanagedAM fails with NPE

Jason Lowe created YARN-4623:
--------------------------------

             Summary: TestSystemMetricsPublisher#testPublishAppAttemptMetricsForUnmanagedAM fails with NPE
                 Key: YARN-4623
                 URL: https://issues.apache.org/jira/browse/YARN-4623
             Project: Hadoop YARN
          Issue Type: Sub-task
    Affects Versions: 2.7.3
            Reporter: Jason Lowe


testPublishAppAttemptMetricsForUnmanagedAM is failing with a NullPointerException on branch-2.7.
{noformat}
Running org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.393 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher
testPublishAppAttemptMetricsForUnmanagedAM(org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher)  Time elapsed: 0.026 sec  <<< ERROR!
java.lang.NullPointerException: null
	at org.apache.hadoop.yarn.server.resourcemanager.metrics.SystemMetricsPublisher.appAttemptFinished(SystemMetricsPublisher.java:163)
	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher.testPublishAppAttemptMetricsForUnmanagedAM(TestSystemMetricsPublisher.java:204)
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)