[ 
https://issues.apache.org/jira/browse/YARN-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bibin A Chundatt updated YARN-3892:
-----------------------------------
    Attachment: 0001-YARN-3892.patch

Please review the patch attached

> NPE on RMStateStore#serviceStop when CapacityScheduler#serviceInit fails
> ------------------------------------------------------------------------
>
>                 Key: YARN-3892
>                 URL: https://issues.apache.org/jira/browse/YARN-3892
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>            Priority: Minor
>         Attachments: 0001-YARN-3892.patch
>
>
> NPE on RMStateStore#serviceStop when CapacityScheduler#serviceInit fails
> {code}
> java.lang.NullPointerException
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore.closeInternal(ZKRMStateStore.java:315)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.serviceStop(RMStateStore.java:516)
>         at 
> org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
>         at 
> org.apache.hadoop.service.AbstractService.close(AbstractService.java:250)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceStop(ResourceManager.java:598)
>         at 
> org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
>         at 
> org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52)
>         at 
> org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)
>         at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:171)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:954)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:254)
>         at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>         at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1184)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to