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.

where to set cloudera manager server's heap size setting ?

avatar
Contributor

Hello ,

 

Where to change cloudera manager's heap size for GC ? I am running CM 4.8.5.

Engineer
1 ACCEPTED SOLUTION

avatar
Please edit the file /etc/default/cloudera-scm-server, the property is
called CMF_JAVA_OPTS and the heap can be set with the -Xmx parameter

Regards,
Gautam Gopalakrishnan

View solution in original post

6 REPLIES 6

avatar
Please edit the file /etc/default/cloudera-scm-server, the property is
called CMF_JAVA_OPTS and the heap can be set with the -Xmx parameter

Regards,
Gautam Gopalakrishnan

avatar
Contributor

Thank you, Gautam. Appreciate it.

Engineer

avatar
Contributor

Gautam, Could you also help me out with how/where to enable GC logging for cloudera manager server ? 

Engineer

avatar
The same parameter can be used to add other Java options, say to add GC
logging. The list of options can be seen here:

http://www.oracle.com/technetwork/articles/java/vmoptions-jsp-140102.html

Regards,
Gautam Gopalakrishnan

avatar
Contributor

Gautam, what is recommended heapsize setting for CM services liek service monitor, host monitor, activity monitor ? For say: around 500 node cluster ?

 

And slow we have mis configured alerts in CM for JT HA, we dont have HA setup i see health test result for MAPREDUCE_HA_JOB_TRACKER_HEALTH  going bad very frequently. Our JT health is just fine.

Engineer

avatar
Since the cluster is relatively large, for mgmt roles you can start with 2GB heap and tune upwards if required. This is just an estimate though.

Regarding the JT health alert, please start a new thread in the Cloudera Manager forum.
Regards,
Gautam Gopalakrishnan