Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E3917200B2C for ; Tue, 24 May 2016 14:25:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E24E3160A33; Tue, 24 May 2016 12:25:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 31BE7160A32 for ; Tue, 24 May 2016 14:25:03 +0200 (CEST) Received: (qmail 36859 invoked by uid 500); 24 May 2016 12:25:01 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 36796 invoked by uid 99); 24 May 2016 12:25:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2016 12:25:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 60B05DFBED; Tue, 24 May 2016 12:25:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: asuresh@apache.org To: common-commits@hadoop.apache.org Message-Id: <251ccc432e444c3ab6c5c336f0715ebd@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hadoop git commit: YARN-4991. Fix ContainerRequest Constructor to set nodelabelExpression correctly. (Bibin A Chundatt via asuresh) Date: Tue, 24 May 2016 12:25:01 +0000 (UTC) archived-at: Tue, 24 May 2016 12:25:04 -0000 Repository: hadoop Updated Branches: refs/heads/branch-2 155f25061 -> ce886ff2b YARN-4991. Fix ContainerRequest Constructor to set nodelabelExpression correctly. (Bibin A Chundatt via asuresh) (cherry picked from commit a5fed8bbfeed9b58c59584afa5931eae635afa2f) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ce886ff2 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ce886ff2 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ce886ff2 Branch: refs/heads/branch-2 Commit: ce886ff2b189426a71cd662146f13384dbb48ad0 Parents: 155f250 Author: Arun Suresh Authored: Mon Apr 25 23:26:21 2016 -0700 Committer: Arun Suresh Committed: Tue May 24 05:12:03 2016 -0700 ---------------------------------------------------------------------- .../main/java/org/apache/hadoop/yarn/client/api/AMRMClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/ce886ff2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/AMRMClient.java ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/AMRMClient.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/AMRMClient.java index 73c2725..3ec0899 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/AMRMClient.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/AMRMClient.java @@ -178,7 +178,8 @@ public abstract class AMRMClient extends */ public ContainerRequest(Resource capability, String[] nodes, String[] racks, Priority priority, boolean relaxLocality, String nodeLabelsExpression) { - this(capability, nodes, racks, priority, relaxLocality, null, + this(capability, nodes, racks, priority, relaxLocality, + nodeLabelsExpression, ExecutionType.GUARANTEED); } --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-commits-help@hadoop.apache.org