[ https://issues.apache.org/jira/browse/YARN-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhijie Shen updated YARN-422: ----------------------------- Attachment: YARN-422.4.patch Enhance NMClient it the following aspects: 1. For NMClientImpl, make stopping all the running containers optional and enabled by default. 2. Introduce the container state into NMClientAsync. The state will be checked to avoid the event of stopping a container happening before that of starting the container. 3. Test cases are added to cover these two changes. In addition, I incorporate the recent changes about YarnRemoteException and IOException. NMClient throws the both exceptions as well. CallbackHandler takes Throwable as parameter in case some future changes (either internal or external) will introduce more kinds of exceptions. > Add NM client library > --------------------- > > Key: YARN-422 > URL: https://issues.apache.org/jira/browse/YARN-422 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Bikas Saha > Assignee: Zhijie Shen > Attachments: AMNMClient_Defination.txt, > AMNMClient_Definition_Updated_With_Tests.txt, proposal_v1.pdf, > YARN-422.1.patch, YARN-422.2.patch, YARN-422.3.patch, YARN-422.4.patch > > > Create a simple wrapper over the ContainerManager protocol to provide hide > the details of the protocol implementation. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira