Jason Lowe created YARN-7908:
--------------------------------

             Summary: TestSystemMetricsPublisher#testPublishContainerMetrics 
can fail with an NPE
                 Key: YARN-7908
                 URL: https://issues.apache.org/jira/browse/YARN-7908
             Project: Hadoop YARN
          Issue Type: Bug
          Components: test
    Affects Versions: 2.8.3
            Reporter: Jason Lowe


testPublishContainerMetrics can fail with a NullPointerException:
{noformat}
Running 
org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.42 sec <<< 
FAILURE! - in 
org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher
testPublishContainerMetrics(org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher)
  Time elapsed: 0.031 sec  <<< ERROR!
java.lang.NullPointerException: null
        at 
org.apache.hadoop.yarn.server.resourcemanager.metrics.TestSystemMetricsPublisher.testPublishContainerMetrics(TestSystemMetricsPublisher.java:454)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to