You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2016/01/15 18:34:06 UTC

[42/50] [abbrv] 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/283560d5
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/283560d5
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/283560d5

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 283560d560727fceda57b5546e8056a311f01493
Parents: fea14c2
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Wed Jan 13 11:56:34 2016 -0800
Committer: Nate Cole <nc...@hortonworks.com>
Committed: Thu Jan 14 11:43:29 2016 -0500

----------------------------------------------------------------------
 .../server/serveraction/upgrades/SparkShufflePropertyConfig.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/283560d5/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<>();
       }