Support Questions

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

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