Created 01-09-2017 02:21 PM
We are getting the following error from YARN: NodeManager Health is bad: GC Duration:
Average time spent in garbage collection was 45.2 second(s) (75.40%) per minute over the previous 5 minute(s). Critical threshold: 60.00%.
Average time spent in garbage collection was 30.3 second(s) (50.45%) per minute over the previous 5 minute(s). Warning threshold: 30.00%.
Below are my configuration:
Currently we are using the default setting for CM -> Yarn -> Configuration -> Java Configuration Options for Node Manager
-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled
CM -> Yarn -> Configuration -> nodemanager_gc_duration_window
5 minute(s)
CM -> Yarn -> Configuration -> nodemanager_gc_duration_thresholds
Warning: 30.0 Critical: 60.0
I went through this link but it doesn't cover how to fix this issue
https://www.cloudera.com/documentation/enterprise/5-8-x/topics/cm_ht_nodemanager.html
Below are my questions :
1. The environment was good for more than a year but getting issue now. why? Is it due to more usage?
2. Do we need to clear any old garbage from the environment to fix this issue? if so, how?
3. Do we need to change any configuration to fix this issue? if so, how?
4. Do we need to do both step 2 and step 3 by any chance?