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

Steve Loughran commented on MAPREDUCE-3431:
-------------------------------------------

the root cause of this is the service {{stop()}} method assumes the service 
started up correctly, and hence that all member fields are non-null. Each field 
should be assessed for null-ness before use, and set to null afterwards, to 
stop re-entrant calls. All yarn services will need reviewing. Testing is hard 
as it's tricky to generate all code-paths needed to stress every action in the 
{{stop()}} method 
                
> NPE in Resource Manager shutdown
> --------------------------------
>
>                 Key: MAPREDUCE-3431
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3431
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 0.23.0
>         Environment: OS/X w/ java6
>            Reporter: Steve Loughran
>            Priority: Minor
>
> bringing up a resource manager failed; shutdown triggered an NPE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to