You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Y. SREENIVASULU REDDY (JIRA)" <ji...@apache.org> on 2018/08/29 07:38:00 UTC

[jira] [Commented] (YARN-8727) NPE in RouterRMAdminService while stopping service.

    [ https://issues.apache.org/jira/browse/YARN-8727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16596039#comment-16596039 ] 

Y. SREENIVASULU REDDY commented on YARN-8727:
---------------------------------------------

i have attached the patch, please review.

> NPE in RouterRMAdminService while stopping service.
> ---------------------------------------------------
>
>                 Key: YARN-8727
>                 URL: https://issues.apache.org/jira/browse/YARN-8727
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: federation, router
>    Affects Versions: 3.1.1
>            Reporter: Y. SREENIVASULU REDDY
>            Assignee: Y. SREENIVASULU REDDY
>            Priority: Major
>         Attachments: YARN-8727.001.patch
>
>
> while stopping the service router throw NPE
> {noformat}
> 2018-08-23 22:52:00,596 INFO org.apache.hadoop.service.AbstractService: Service org.apache.hadoop.yarn.server.router.rmadmin.RouterRMAdminService failed in state STOPPED
> java.lang.NullPointerException
>         at org.apache.hadoop.yarn.server.router.rmadmin.RouterRMAdminService.serviceStop(RouterRMAdminService.java:143)
>         at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:220)
>         at org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:54)
>         at org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:102)
>         at org.apache.hadoop.service.CompositeService.stop(CompositeService.java:158)
>         at org.apache.hadoop.service.CompositeService.serviceStop(CompositeService.java:132)
>         at org.apache.hadoop.yarn.server.router.Router.serviceStop(Router.java:128)
>         at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:220)
>         at org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:54)
>         at org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:102)
>         at org.apache.hadoop.service.AbstractService.start(AbstractService.java:202)
>         at org.apache.hadoop.yarn.server.router.Router.main(Router.java:182)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org