Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8489 Need to support "dominant" component concept inside YARN service
  3. YARN-9185

TimelineServiceV2Publisher throws NPE when app is finished before container metrics updated

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When the dominant component feature is enabled. Resourcemanager throws NPE after the app is finished.

      The stack is as follows:

      2019-01-08 19:54:48,788 FATAL org.apache.hadoop.yarn.event.AsyncDispatcher: Error in dispatcher thread
      java.lang.NullPointerException
      at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher.putEntity(Timel
      ineServiceV2Publisher.java:459)
      at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher.access$100(Time
      lineServiceV2Publisher.java:73)
      at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2Event
      Handler.handle(TimelineServiceV2Publisher.java:494)
      at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2Event
      Handler.handle(TimelineServiceV2Publisher.java:483)
      at org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:197)
      at org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:126)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yuan_zac Zac Zhou
                Reporter:
                yuan_zac Zac Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: