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

[jira] [Updated] (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 updated YARN-489:
-----------------------------

    Description: 
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, 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.

--
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