Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How can I increase JobHistoryServer heap size if I use ambari?

avatar
New Contributor

Since I encountered OOME on JobHistoryServer process, I increased HADOOP_JOB_HISTORYSERVER_HEAPSIZE in /usr/hdp/current/hadoop-client/conf/mapred-env.sh. However, it seems dose not work because ambari overwrite the property when I restart JobHistoryServer.

How can I set heap size of JobHistoryServer?

I use following components.

Ambari: 2.1.2

Hadoop: HDP 2.2.6.0-2800

1 ACCEPTED SOLUTION

avatar

Ambari automatically overwrites these configurations when the services are restarted, however you can set the JobHistory-Server Heapsize directly through Ambari.

  1. Select MapReduce2 service
  2. Select "Configs" tab
  3. Select "Advanced" tab
  4. The Group "History Server" contains the configuration "jobhistory_heapsize"

573-jobhistoryheap.png

View solution in original post

2 REPLIES 2

avatar

Ambari automatically overwrites these configurations when the services are restarted, however you can set the JobHistory-Server Heapsize directly through Ambari.

  1. Select MapReduce2 service
  2. Select "Configs" tab
  3. Select "Advanced" tab
  4. The Group "History Server" contains the configuration "jobhistory_heapsize"

573-jobhistoryheap.png

avatar
New Contributor

I had overlooked it.

Thank you!