Support Questions

Find answers, ask questions, and share your expertise

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

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

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

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

New Contributor

I had overlooked it.

Thank you!

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.