Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 458AFFA6A for ; Thu, 11 Apr 2013 00:15:31 +0000 (UTC) Received: (qmail 2451 invoked by uid 500); 11 Apr 2013 00:15:19 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 2419 invoked by uid 500); 11 Apr 2013 00:15:19 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 2388 invoked by uid 99); 11 Apr 2013 00:15:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Apr 2013 00:15:19 +0000 Date: Thu, 11 Apr 2013 00:15:19 +0000 (UTC) From: "Vinod Kumar Vavilapalli (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-489) Setter of xxxxPBImpl doesn't really set the collection, but append its items to an existing collection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod Kumar Vavilapalli updated YARN-489: ----------------------------------------- Issue Type: Sub-task (was: Bug) Parent: YARN-386 > 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