In a MapR Hadoop cluster, warden sets the default resource allocation for the operating system, MapR-FS, MapR Hadoop services, and MapReduce v1 and YARN applications. Warden allocates resources to MapR Hadoop services and applications based on the roles installed on a node. For example, warden allocates resource for YARN applications on nodes with NodeManager role installed and it allocates resources to MapReduce v1 applications on nodes with the TaskTracker role installed.
In general, you should not need to override the values set in the default configuration files and by warden. However, users can provide updated values by adding or updating parameters in the Hadoop site configuration files or warden files. To override parameter values for a single job, the option can be overridden in the command line when submitting a YARN or MapReduce v1 application to the cluster.
To determine the current value of a hadoop parameter, run
hadoop conf | grep <ParameterName>. In the following example, the
hadoop conf command was used to get the value of
hadoop conf without the
grep command to get a full list of the current parameter values. To determine the current value of a warden parameter, open the warden files located in the following directories: /opt/mapr/conf/conf.d and /opt/mapr/conf.
This section includes the following topics: