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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment