-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20420/
-----------------------------------------------------------
Review request for Ambari and Dmytro Sen.
Bugs: AMBARI-5485
https://issues.apache.org/jira/browse/AMBARI-5485
Repository: ambari
Description
-------
PROBLEM: Ambari does not manage mapred-env.sh and JobHistory memory cannot be
set via Ambari.
BUSINESS IMPACT: Users are not sure how to change JobHistory memory settings
in Ambari cluster. This came from eBay so looks like large clusters need to be
able to increase memory.
STEPS TO REPRODUCE: navigate to Services -> Mapreduce -> Configs tab and you
will notice that JobHistory Heap configuration is not there.
ACTUAL BEHAVIOR: Cannot change JobHistory memory in Ambari UI
EXPECTED BEHAVIOR: To be able to manage JobHistory memory in Ambari UI
SUPPORT ANALYSIS: Since Ambari does not manage mapred-env.sh you can manually
edit config in mapred-env.sh. I verified by manually setting the memory and
restarting cluster via Ambari that config value did not change.
[root@63ambarihdp2010 conf]# grep -i heap /etc/hadoop/conf/mapred-env.sh
export HADOOP_JOB_HISTORYSERVER_HEAPSIZE=900
Diffs
-----
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
f1ef84a
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py
3ffcc76
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/mapred-env.sh.j2
PRE-CREATION
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/configuration-mapred/global.xml
984cd41
ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py
88448e6
ambari-web/app/controllers/main/service/info/configs.js c183b83
ambari-web/app/controllers/wizard/step8_controller.js 8bb548b
ambari-web/app/data/HDP2/global_properties.js 0b61e77
Diff: https://reviews.apache.org/r/20420/diff/
Testing
-------
Thanks,
Andrew Onischuk