Browse Source

AMBARI-16757. Spark History Server heap size is not exposed (History Server crashed with OOM) - Addendum patch (Weiqing Yang via srimanth)

Srimanth Gunturi 9 years ago
parent
commit
7461641b64

+ 1 - 0
ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py

@@ -67,6 +67,7 @@ if stack_version_formatted and check_stack_feature(StackFeature.ROLLING_UPGRADE,
   hadoop_home = stack_select.get_hadoop_dir("home")
   spark_conf = format("{stack_root}/current/{component_directory}/conf")
   spark_log_dir = config['configurations']['spark-env']['spark_log_dir']
+  spark_daemon_memory = config['configurations']['spark-env']['spark_daemon_memory']
   spark_pid_dir = status_params.spark_pid_dir
   spark_home = format("{stack_root}/current/{component_directory}")