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

RM throws NPE and shutdown when trying to stop a service

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      When trying to stop the service from UI2, RM shutsdown and throws NPE.

      2019-01-21 16:22:13,548 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl: Type-specific cleanup of application application_1548064352792_0002 of type yarn-service succeeded
      2019-01-21 16:22:13,549 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl: application_1548064352792_0002 State change from FINISHING to FINISHED on event = ATTEMPT_FINISHED
      2019-01-21 16:22:13,549 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler: Application Attempt appattempt_1548064352792_0002_000001 is done. finalState=FINISHED
      2019-01-21 16:22:13,549 INFO org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger: USER=dr.who   OPERATION=Application Finished - Succeeded      TARGET=RMAppManager     RESULT=SUCCESS  APPID=application_1548064352792_0002
      2019-01-21 16:22:13,549 INFO org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl: container_1548064352792_0002_01_000003 Container Transitioned from RUNNING to KILLED
      2019-01-21 16:22:13,549 INFO org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher: Cleaning master appattempt_1548064352792_0002_000001
      2019-01-21 16:22:13,549 INFO org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger: USER=dr.who   OPERATION=AM Released Container TARGET=SchedulerApp     RESULT=SUCCESS  APPID=application_1548064352792_0002    CONTAINERID=container_1548064352792_0002_01_000003      RESOURCE=<memory:1024, vCores:1>        QUEUENAME=default
      2019-01-21 16:22:13,549 FATAL org.apache.hadoop.yarn.event.AsyncDispatcher: Error in dispatcher thread
      java.lang.NullPointerException
              at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher.putEntity(TimelineServiceV2Publisher.java:462)
              at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher.access$100(TimelineServiceV2Publisher.java:73)
              at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2EventHandler.handle(TimelineServiceV2Publisher.java:497)
              at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV2Publisher$TimelineV2EventHandler.handle(TimelineServiceV2Publisher.java:486)
              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)
      

      cc Sunil G Rohith Sharma K S

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                akhilpb Akhil PB
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: