Reply
New Contributor
Posts: 2
Registered: ‎12-20-2016
Accepted Solution

YARN container usage metric aggregation failed because there is no active ResourceManager.

[ Edited ]

Hi guys,

 

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? 

 

Thanks,

D.

Cloudera Employee
Posts: 2
Registered: ‎11-03-2016

Re: YARN container usage metric aggregation failed because there is no active ResourceManager.

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.

 Screen Shot 2017-01-12 at 3.35.20 PM.png

 

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. 

Screen Shot 2017-01-12 at 4.19.02 PM.png

Cloudera Employee
Posts: 18
Registered: ‎01-12-2017

Re: YARN container usage metric aggregation failed because there is no active ResourceManager.

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.

New Contributor
Posts: 2
Registered: ‎12-20-2016

Re: YARN container usage metric aggregation failed because there is no active ResourceManager.

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 .

 

Thanks,

D.

New Contributor
Posts: 2
Registered: ‎05-25-2016

Re: YARN container usage metric aggregation failed because there is no active ResourceManager.

Hi,

 

Restarting Service Monitor resolved this issue for me.

Highlighted
New Contributor
Posts: 1
Registered: ‎09-12-2018

Re: YARN container usage metric aggregation failed because there is no active ResourceManager.

Thanks for the tip. That worked for me as well.

Announcements