[
https://issues.apache.org/jira/browse/YARN-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625472#comment-14625472
]
MENG DING commented on YARN-1449:
---------------------------------
Oh, the diff file doesn't show the entire context. The {{containersToIncrease}}
refers to the parameter being passed in, so it is only in the scope of the
{{setContainersToIncrease}} function.
{code}
+ @Override
+ public void setContainersToIncrease(List<Token> containersToIncrease) {
+ if (containersToIncrease == null) {
+ return;
+ }
+ initContainersToIncrease();
+ this.containersToIncrease.clear();
+ this.containersToIncrease.addAll(containersToIncrease);
+ }
{code}
> 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)