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 <[email protected]>
Authored: Wed Jan 13 11:56:34 2016 -0800
Committer: Sumit Mohanty <[email protected]>
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<>();
       }

Reply via email to