Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

How to calculate number of total containers?


How to calculate number of total containers in cluster?

Does it depend on Memory? or VCores ? How can I get the exact number of containers which are available in my cluster.?


Cloudera Employee

Hi Madhura,


The following link may be usefull for your question


For calculating  maximum number of containers allowed per node. The following formula can be used:

# of containers = min (2*CORES, 1.8*DISKS, (Total available RAM) / MIN_CONTAINER_SIZE)

Where MIN_CONTAINER_SIZE is the minimum container size (in RAM). This value is dependent on the amount of RAM available -- in smaller memory nodes, the minimum container size should also be smaller




Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.