Allocating Memory for the OS, MapR File System, and Hadoop Services
Lists the parameters that control how Warden allocates memory for the OS, file system and the MapR Hadoop services.
Warden allocates memory to the operating system, MapR File System, and MapR Hadoop services based on the following parameters:
Parameter | Default OS | MapR File System | Hadoop Service(s) | Description |
---|---|---|---|---|
|
10 |
varies |
varies | Defines the heap size percentage. |
service.command.<os|mfs|servicename>.heapsize.maxpercent |
Not Applicable | 85 | Not Applicable | Defines the heap size maximum percentage |
|
4000 | Not Applicable | 5000 | Defines the maximum heap size in MB. |
service.command.<os|mfs|servicename>.heapsize.min |
256 | 512 | 256 | Defines the minimum heap size in MB. |
Memory settings for the operating system and the MapR File System are
configured in the warden.conf
file. The warden.conf
file
is located in /opt/mapr/conf
. Other services, such as NodeManager and
ResourceManager, have their own warden.<servicename>.conf
file within
/opt/mapr/conf/conf.d
. For more information about the Warden files, see
warden.conf
and warden.<servicename>.conf
.
Note: Warden allocates resources only for the MapR Hadoop services associated with roles that are installed on the node.