Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Number of available containers in CDH

Highlighted

Number of available containers in CDH

New Contributor

Hi,

 

I just want to know, is there any API or formula to calculate the number of available containers at a given time in the hadoop cluster?

I am using CDH version 5 on YARN.

 

Any help is much appeciated.

 

Thanks,

Arun

1 REPLY 1

Re: Number of available containers in CDH

Master Guru
Yes - with just MR2 running, it would be the value of yarn.nodemanager.resource.memory-mb divided by mapreduce.map|reduce.memory.mb, per host.

Also checkout our operators' guide for migrating to MR1 from YARN at http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_ig_mapreduce_to_yar...