-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/47676/
-----------------------------------------------------------

Review request for Ambari and Sumit Mohanty.


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
-----

  
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
-------

N/A


Thanks,

Weiqing Yang

Reply via email to