----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47676/ -----------------------------------------------------------
(Updated May 24, 2016, 9:23 p.m.) Review request for Ambari, Sumit Mohanty and Srimanth Gunturi. Bugs: AMBARI-16757 https://issues.apache.org/jira/browse/AMBARI-16757 Repository: ambari Description ------- Ambari is not exposing the heap size parameter for Spark History Server. The workaround is to modify spark-env and add "SPARK_DAEMON_MEMORY=2g" for example. The newer versions of Spark defaults this to 1g, but on the older versions, it was defaulting to 512m it seems, and it was causing OOM. So in the patch, "SPARK_DAEMON_MEMORY=1G" is added in the spark-env template (default: 1G). Diffs (updated) ----- ambari-server/src/main/resources/common-services/SPARK/1.2.1/configuration/spark-env.xml 8a5117a Diff: https://reviews.apache.org/r/47676/diff/ Testing (updated) ------- Tested all the versions of Spark on Ambari trunk build successfully. Thanks, Weiqing Yang