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

Jian He commented on YARN-2053:
-------------------------------

Thanks for catching this !   Patch looks good to me, Wangda, can you add a test 
case ?
 Basically, allocate 2 containers on the same node in 
TestAMRestart#testNMTokensRebindOnAMRestart should be enough.

> Slider AM fails to restart: NPE in 
> RegisterApplicationMasterResponseProto$Builder.addAllNmTokensFromPreviousAttempts
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2053
>                 URL: https://issues.apache.org/jira/browse/YARN-2053
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.4.0
>            Reporter: Sumit Mohanty
>            Assignee: Wangda Tan
>         Attachments: YARN-2053.patch, 
> yarn-yarn-nodemanager-c6403.ambari.apache.org.log.bak, 
> yarn-yarn-resourcemanager-c6403.ambari.apache.org.log.bak
>
>
> Slider AppMaster restart fails with the following:
> {code}
> org.apache.hadoop.yarn.proto.YarnServiceProtos$RegisterApplicationMasterResponseProto$Builder.addAllNmTokensFromPreviousAttempts(YarnServiceProtos.java:2700)
> {code}



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

Reply via email to