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

Vinod Kumar Vavilapalli commented on YARN-422:
----------------------------------------------

bq. Is it necessary for the library to stop all containers before stopping 
itself?
I think the callers should have the option of stopping together with killing 
all containers or stopping without killing all containers.

bq. Note that NMClientAsync doesn't execute the start/stop/query RPC calls 
immediately when the corresponding APIs are called. Instead, an event is 
scheduled to start a thread later. 
We don't need more handlers. That code is written to make sure that, for e.g., 
start doesn't happen on a container that is already asked to be stopped. We 
should just pull those changes into your library, they aren't arbitrary code 
that needs plugin points.

                
> 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
>
>
> 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

Reply via email to