Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7539

NullPointerException in timeline service v2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Hadoop 3.1 (trunk)
      MIT Kerberos
      CentOS Linux release 7.0.1406

      Description

      Application submit through Docker YARN REST API is generating a null point exception after job has been finished. In Resource Manager log file, we see this error:

      2017-11-20 18:41:46,395 ERROR org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher: Error when publishing entity TimelineEntity[type='YARN_CONTAINER', id='container_1511201172997_0003_01_000013']
      java.lang.NullPointerException
      	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher.putEntity(TimelineServiceV2Publisher.java:452)
      	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher.access$100(TimelineServiceV2Publisher.java:72)
      	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2EventHandler.handle(TimelineServiceV2Publisher.java:484)
      	at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2EventHandler.handle(TimelineServiceV2Publisher.java:473)
      	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:748)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                eyang Eric Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: