Reply
New Contributor
Posts: 4
Registered: ‎10-03-2014

Number of available containers in CDH

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

Posts: 1,825
Kudos: 406
Solutions: 292
Registered: ‎07-31-2013

Re: Number of available containers in CDH

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...
Announcements