Return-Path: X-Original-To: apmail-tez-commits-archive@minotaur.apache.org Delivered-To: apmail-tez-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6A0EC75F for ; Tue, 4 Jun 2013 05:33:32 +0000 (UTC) Received: (qmail 42415 invoked by uid 500); 4 Jun 2013 05:33:32 -0000 Delivered-To: apmail-tez-commits-archive@tez.apache.org Received: (qmail 42348 invoked by uid 500); 4 Jun 2013 05:33:32 -0000 Mailing-List: contact commits-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list commits@tez.apache.org Received: (qmail 42225 invoked by uid 99); 4 Jun 2013 05:33:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 05:33:31 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 04 Jun 2013 05:33:29 +0000 Received: (qmail 40421 invoked by uid 99); 4 Jun 2013 05:33:06 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 05:33:06 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id D344B54322; Tue, 4 Jun 2013 05:33:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sseth@apache.org To: commits@tez.incubator.apache.org Date: Tue, 04 Jun 2013 05:33:38 -0000 Message-Id: <7ec61ca05d39409d9e129a3be1ffaaac@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [36/50] [abbrv] git commit: TEZ-168. Fix synchronization issue in use of container tokens when launching a container. X-Virus-Checked: Checked by ClamAV on apache.org TEZ-168. Fix synchronization issue in use of container tokens when launching a container. Project: http://git-wip-us.apache.org/repos/asf/incubator-tez/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tez/commit/34de34b3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/34de34b3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/34de34b3 Branch: refs/heads/master Commit: 34de34b31ec87e7abbdd1fabe067801a4aa1fe01 Parents: 9f0d4c3 Author: Hitesh Shah Authored: Thu May 30 13:21:01 2013 -0700 Committer: Hitesh Shah Committed: Thu May 30 13:21:01 2013 -0700 ---------------------------------------------------------------------- .../dag/app/rm/container/AMContainerHelpers.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/34de34b3/tez-dag/src/main/java/org/apache/tez/dag/app/rm/container/AMContainerHelpers.java ---------------------------------------------------------------------- diff --git a/tez-dag/src/main/java/org/apache/tez/dag/app/rm/container/AMContainerHelpers.java b/tez-dag/src/main/java/org/apache/tez/dag/app/rm/container/AMContainerHelpers.java index 357eeda..c17f7f2 100644 --- a/tez-dag/src/main/java/org/apache/tez/dag/app/rm/container/AMContainerHelpers.java +++ b/tez-dag/src/main/java/org/apache/tez/dag/app/rm/container/AMContainerHelpers.java @@ -188,7 +188,7 @@ public class AMContainerHelpers { // Construct the actual Container ContainerLaunchContext container = ContainerLaunchContext.newInstance(lResources, myEnv, commands, - myServiceData, commonContainerSpec.getTokens(), acls); + myServiceData, commonContainerSpec.getTokens().duplicate(), acls); return container; }