Container configurations
Here are the some important configurations related to resource containers that are used to control containers.
To control the memory allocation to a container, the administrator needs to set the following three parameters in the yarn-site.xml
configuration file:
Parameter |
Description |
---|---|
|
This is the amount of memory in MBs that the NodeManager can use for the containers. |
|
This is the smallest amount of memory in MBs allocated to the container by the ResourceManager. The default value is 1024 MB. |
|
This is the largest amount of memory in MBs allocated to the container by the ResourceManager. The default value is 8192 MB. |
The CPU core allocations to the container are controlled by setting the following properties in the yarn-site.xml
configuration file:
Parameter |
Description |
---|---|
|
This is the minimum number of CPU... |