Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
New Member

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 Member

I had overlooked it.

Thank you!