Repository: ambari Updated Branches: refs/heads/branch-2.2 9e482e380 -> 595353166
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/59535316 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/59535316 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/59535316 Branch: refs/heads/branch-2.2 Commit: 595353166499d6201d4e712418202d886181bb60 Parents: 9e482e3 Author: Sumit Mohanty <[email protected]> Authored: Wed Jan 13 11:56:34 2016 -0800 Committer: Sumit Mohanty <[email protected]> Committed: Wed Jan 13 11:56:34 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/59535316/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<>(); }
