You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Zhijie Shen (JIRA)" <ji...@apache.org> on 2013/09/06 02:57:57 UTC

[jira] [Resolved] (YARN-489) Setter of xxxxPBImpl doesn't really set the collection, but append its items to an existing collection

     [ https://issues.apache.org/jira/browse/YARN-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhijie Shen resolved YARN-489.
------------------------------

    Resolution: Duplicate

The problem should be fixed together with YARN-609.
                
> 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: Sub-task
>            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