Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2686B1871B for ; Fri, 15 Jan 2016 18:51:58 +0000 (UTC) Received: (qmail 576 invoked by uid 500); 15 Jan 2016 18:51:57 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 514 invoked by uid 500); 15 Jan 2016 18:51:57 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 99703 invoked by uid 99); 15 Jan 2016 18:51:56 -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; Fri, 15 Jan 2016 18:51:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A9013E38B3; Fri, 15 Jan 2016 18:51:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ncole@apache.org To: commits@ambari.apache.org Date: Fri, 15 Jan 2016 18:52:13 -0000 Message-Id: In-Reply-To: <5bb0219cfe3e494d94265529769b9014@git.apache.org> References: <5bb0219cfe3e494d94265529769b9014@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [18/50] ambari git commit: AMBARI-14652. Express upgrade to HDP 2.4 has failed on Calculating Yarn Properties for Spark (Dmytro Grinenko via smohanty) AMBARI-14652. Express upgrade to HDP 2.4 has failed on Calculating Yarn Properties for Spark (Dmytro Grinenko via smohanty) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b641d521 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b641d521 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b641d521 Branch: refs/heads/branch-dev-patch-upgrade Commit: b641d5216e5ba20418fc66ec3db6b4da52e1ed13 Parents: 21e8551 Author: Sumit Mohanty Authored: Wed Jan 13 11:56:34 2016 -0800 Committer: Sumit Mohanty Committed: Wed Jan 13 11:57:48 2016 -0800 ---------------------------------------------------------------------- .../server/serveraction/upgrades/SparkShufflePropertyConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b641d521/ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/SparkShufflePropertyConfig.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/SparkShufflePropertyConfig.java b/ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/SparkShufflePropertyConfig.java index f69e054..efeb4a0 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/SparkShufflePropertyConfig.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/SparkShufflePropertyConfig.java @@ -78,7 +78,7 @@ public class SparkShufflePropertyConfig extends AbstractServerAction { final String newAuxServices; if (yarnSiteProperties.containsKey(YARN_NODEMANAGER_AUX_SERVICES)) { - auxSevices = Arrays.asList(oldAuxServices.split(",", -1)); + auxSevices = new ArrayList<>(Arrays.asList(oldAuxServices.split(",", -1))); } else { auxSevices = new ArrayList<>(); }