01-05-2017 11:09 PM - edited 01-05-2017 11:10 PM
I'm getting this message: Concerning : YARN container usage metric aggregation failed because there is no active ResourceManager. Both YARN resource managers (Active and Standby) are up and running but YARN still shows me this error. Any idea why?
01-12-2017 01:29 PM
It is related to the CM checks due to not being able to write the yarn check in HDFS. Try to check what the error is with the diagnostic tool > logs and search for the errors like the image below. You can also jump on the command line and check the permessions of /tmp and the /tmp/cm* directories.
Also, look at the YARN Service and maybe the parent directories are not deployed. Check out the below image and create the directories with the Action button if those are not already created inside HDFS.
01-12-2017 02:15 PM
The aggregation job is run by Cloudera Manager Service Monitor. As indicated by the error msg, this means the Service Monitor was not able to find an active Resource Manager. Pls check Cloudera Manager Service Monitor's log and see if there is any exception/errors.
01-13-2017 12:08 AM
Hi guys, thanks a lot for your answers. In the end, I restarted YARN and all its dependencies and after few minutes everything was ok .