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

Tsuyoshi OZAWA commented on YARN-1919:
--------------------------------------

Thanks Jian and Karthik for your review.

> Potential NPE in EmbeddedElectorService#stop
> --------------------------------------------
>
>                 Key: YARN-1919
>                 URL: https://issues.apache.org/jira/browse/YARN-1919
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.3.0, 2.4.0, 2.5.0
>            Reporter: Devaraj K
>            Assignee: Tsuyoshi OZAWA
>            Priority: Minor
>             Fix For: 2.6.0
>
>         Attachments: YARN-1919.1.patch, YARN-1919.2.patch
>
>
> {code:xml}
> 2014-04-09 16:14:16,392 WARN org.apache.hadoop.service.AbstractService: When 
> stopping the service 
> org.apache.hadoop.yarn.server.resourcemanager.EmbeddedElectorService : 
> java.lang.NullPointerException
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.EmbeddedElectorService.serviceStop(EmbeddedElectorService.java:108)
>       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.service.CompositeService.serviceInit(CompositeService.java:107)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.AdminService.serviceInit(AdminService.java:122)
>       at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>       at 
> org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:232)
>       at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1038)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to