[
https://issues.apache.org/jira/browse/YARN-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhijie Shen updated YARN-489:
-----------------------------
Description:
For example, AllocateResponsePBImpl#setAllocatedContainers,
AllocateResponsePBImpl#setUpdatedNodes, CountersPBImpl#addAllCounterGroups and
ContainerLaunchContextPBImpl#setLocalResources.
In particular, in ContainerLaunchContextPBImpl, setters will clean up the list
before appending the items.
We need to investigate the issue to ensure all cases of collection setter are
handled correctly.
was:
For example, AMResponsePBImpl#setAllocatedContainers,
AMResponsePBImpl#setUpdatedNodes and CountersPBImpl#addAllCounterGroups.
What if the collection from proto or builder is not empty? We need to
investigate the issue to ensure all cases of collection setter are handled
correctly.
> Setter of xxxxPBImpl doesn't really set the collection, but append its items
> to an existing collection
> ------------------------------------------------------------------------------------------------------
>
> Key: YARN-489
> URL: https://issues.apache.org/jira/browse/YARN-489
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Zhijie Shen
> Assignee: Zhijie Shen
>
> For example, AllocateResponsePBImpl#setAllocatedContainers,
> AllocateResponsePBImpl#setUpdatedNodes, CountersPBImpl#addAllCounterGroups
> and ContainerLaunchContextPBImpl#setLocalResources.
> In particular, in ContainerLaunchContextPBImpl, setters will clean up the
> list before appending the items.
> We need to investigate the issue to ensure all cases of collection setter are
> handled correctly.
--
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