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

MENG DING commented on YARN-1449:
---------------------------------

[~jianhe], I think the {{initContainersToIncrease()}} is still needed, because 
it may need to create the {{this.containersToIncrease}} if it is null.
The {{AllocateRequestPBImpl.setAskList()}} uses the same logic. It seemed a 
little awkward to me too at first though.

> AM-NM protocol changes to support container resizing
> ----------------------------------------------------
>
>                 Key: YARN-1449
>                 URL: https://issues.apache.org/jira/browse/YARN-1449
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api
>            Reporter: Wangda Tan (No longer used)
>            Assignee: MENG DING
>         Attachments: YARN-1449.1.patch, YARN-1449.2.patch, YARN-1449.3.patch, 
> yarn-1449.1.patch, yarn-1449.3.patch, yarn-1449.4.patch, yarn-1449.5.patch
>
>
> AM-NM protocol changes to support container resizing
> 1) "IncreaseContainersResourceRequest" and 
> "IncreaseContainersResourceResponse" PB protocol and implementation
> 2) "increaseContainersResources" method in ContainerManagementProtocol
> 3) Update "ContainerStatus" protocol to include Resource
> 4) Relevant test cases



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to