[
https://issues.apache.org/jira/browse/YARN-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Devaraj K updated YARN-41:
--------------------------
Attachment: YARN-41-7.patch
[~djp] I have updated the patch with review comments. Can you have a look into
this?
In the latest patch I have added a new NodeState i.e. SHUTDOWN.
bq. Add tests for new PB objects UnRegisterNodeManagerRequestPBImpl,
UnRegisterNodeManagerResponsePBImpl into TestYarnServerApiClasses.java.
I have added test for UnRegisterNodeManagerRequestPBImpl and I haven't added
test for UnRegisterNodeManagerResponsePBImpl since it doesn't have any state to
verify and no value add for test.
> The RM should handle the graceful shutdown of the NM.
> -----------------------------------------------------
>
> Key: YARN-41
> URL: https://issues.apache.org/jira/browse/YARN-41
> Project: Hadoop YARN
> Issue Type: New Feature
> Components: nodemanager, resourcemanager
> Reporter: Ravi Teja Ch N V
> Assignee: Devaraj K
> Attachments: MAPREDUCE-3494.1.patch, MAPREDUCE-3494.2.patch,
> MAPREDUCE-3494.patch, YARN-41-1.patch, YARN-41-2.patch, YARN-41-3.patch,
> YARN-41-4.patch, YARN-41-5.patch, YARN-41-6.patch, YARN-41-7.patch,
> YARN-41.patch
>
>
> Instead of waiting for the NM expiry, RM should remove and handle the NM,
> which is shutdown gracefully.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)