[ https://issues.apache.org/jira/browse/YARN-9215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16749596#comment-16749596 ]
Akhil PB commented on YARN-9215: -------------------------------- This is duplicate of YARN-6695. Closing it as duplicate > RM throws NPE and shutdown when trying to stop a service > -------------------------------------------------------- > > Key: YARN-9215 > URL: https://issues.apache.org/jira/browse/YARN-9215 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager, yarn-native-services > Affects Versions: 3.3.0 > Reporter: Akhil PB > Priority: Critical > > When trying to stop the service from UI2, RM shutsdown and throws NPE. > {code:java} > 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) > {code} > cc [~sunilg] [~rohithsharma] -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org