Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4478 [Umbrella] : Track all the Test failures in YARN
  3. YARN-4623

TestSystemMetricsPublisher#testPublishAppAttemptMetricsForUnmanagedAM fails with NPE

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.3
    • Fix Version/s: 2.7.3
    • Component/s: yarn
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      testPublishAppAttemptMetricsForUnmanagedAM is failing with a NullPointerException on branch-2.7.

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Naganarasimha Naganarasimha G R
                Reporter:
                jlowe Jason Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: