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

Arun Suresh commented on YARN-6306:
-----------------------------------

[~jianhe]

bq. NMClientImpl#reInitializeContainer, why not put it into the 
restartCommitOrRollbackContainer method as others do ?
So the reInitializeContainer API takes some extra params (the launch context 
and autoCommit flag). Intentionally wanted to differentiate the methods. 
Restart/Commit/Rollback takes just a containerId.

W.r.t the copy-paste errors
Unless im missing something, the log message you post the earlier comment are 
correct - I am throwing the error precisely because the container has not 
started. 

> NMClient API change for container upgrade
> -----------------------------------------
>
>                 Key: YARN-6306
>                 URL: https://issues.apache.org/jira/browse/YARN-6306
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jian He
>            Assignee: Arun Suresh
>         Attachments: YARN-6306.001.patch, YARN-6306.002.patch
>
>
> This JIRA is track the addition of Upgrade API (Re-Initialize, Restart, 
> Rollback and Commit) to the NMClient and NMClientAsync



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to