warden.conf
The
file /opt/mapr/conf/warden.conf
controls
parameters related to MapR services and the warden. Most of the
parameters are not intended to be edited directly by users. The
following table shows the parameters of interest:
Parameter |
Sample Value |
Description |
---|---|---|
|
4 |
The percentage of heap space reserved for the HBase Master. |
|
512 |
The maximum heap space, specified in MB, that can be used by the HBase Master. |
|
64 |
The minimum heap space, specified in MB, for use by the HBase Master. |
|
25 |
The percentage of heap space reserved for the HBase Region Server. |
|
4000 |
The maximum heap space, specified in MB, that can be used by the HBase Region Server. |
|
1000 |
The minimum heap space, specified in MB, for use by the HBase Region Server. |
|
8 |
The percentage of heap space reserved for the CLDB. |
|
4000 |
The maximum heap space, specified in MB, that can be used by the CLDB. |
|
256 |
The minimum heap space, specified in MB, for use by the CLDB. |
|
600 |
Specifies an interval in seconds. The warden attempts to restart a failed CLDB service when this interval expires. |
|
10 |
The percentage of heap space, specified in MB, reserved for
the JobTracker. Memory allocation for JobTracker is only used to
calculate total memory required for all services to run. The -Xmx
JobTracker value is not set, allowing memory on JobTracker to grow
as needed. If an upper limit on memory is strongly desired, set the
HADOOP_HEAPSIZE variable in
|
|
5000 |
The maximum heap space, specified in MB, that can be used
by the JobTracker. Memory allocation for JobTracker is only used to
calculate total memory required for all services to run. The -Xmx
JobTracker value is not set, allowing memory on JobTracker to grow
as needed. If an upper limit on memory is strongly desired, set the
HADOOP_HEAPSIZE variable in
|
|
256 |
The minimum heap space, specified in MB, for use by the
JobTracker. Memory allocation for JobTracker is only used to
calculate total memory required for all services to run. The -Xmx
JobTracker value is not set, allowing memory on JobTracker to grow
as needed. If an upper limit on memory is strongly desired, set the
HADOOP_HEAPSIZE variable in
|
|
35 |
The percentage of heap space reserved for the MapR-FS. Restart the Warden after modifying this setting. |
service.command.mfs.heapsize.maxpercent |
85 |
The maximum percentage of heap space that can be allocated to the MapR-FS. Restart the Warden after modifying this setting. |
|
512 |
The minimum heap space, specified in MB, that can be allocated to the MapR-FS. Restart the Warden after modifying this setting. |
|
2 |
The percentage of heap space reserved for the TaskTracker.
Memory allocation for TaskTracker is only used to calculate total
memory required for all services to run. The -Xmx TaskTracker value
is not set, allowing memory on TaskTracker to grow as needed. If an
upper limit on memory is strongly desired, set the HADOOP_HEAPSIZE
variable in
|
|
325 |
The maximum heap space, specified in MB, that can be used by the
TaskTracker. Memory allocation for TaskTracker is only used
to calculate total memory required for all services to run. The
-Xmx TaskTracker value is not set, allowing memory on TaskTracker
to grow as needed. If an upper limit on memory is strongly desired,
set the HADOOP_HEAPSIZE variable in
|
|
64 |
The minimum heap space, specified in MB, for use by the
TaskTracker. Memory allocation for TaskTracker is only used
to calculate total memory required for all services to run. The
-Xmx TaskTracker value is not set, allowing memory on TaskTracker
to grow as needed. If an upper limit on memory is strongly desired,
set the HADOOP_HEAPSIZE variable in
|
|
3 |
The percentage of heap space reserved for the MapR Control System. |
|
750 |
The maximum heap space, specified in MB, that can be used by the MapR Control System. |
|
512 |
The minimum heap space, specified in MB, for use by the MapR Control System. |
service.command.nfs.heapsize.percent |
3 | The percentage of heap space reserved for the NFS. |
service.command.nfs.heapsize.min |
64 | The minimum heap space, specified in MB, that can be used by the NFS. |
service.command.nfs.heapsize.max |
1000 | The maximum heap space,specified in MB, that can be used by the NFS. |
|
3 |
The percentage of heap space reserved for the operating system. |
|
750 |
The maximum heap space, specified in MB, that can be used by the operating system. |
|
256 |
The minimum heap space, specified in MB, for use by the operating system. |
|
-10 |
The |
|
10.250.1.61:5181 |
The list of ZooKeeper servers. |
services.memoryallocation.alarm.threshold |
95 | The maximum amount of system memory that services running on the node can use before triggering the NODE_ALARM_MEMORY_ALLOCATION_EXCEEDED alarm. |
|
3 |
The number of times the Warden tries to restart a service that fails. |
|
3600 |
Specifies a time interval in seconds. The
|
|
1800 |
The number of seconds after which the warden will again attempt
several times to start a failed service. The number of attempts
after each interval is specified by the parameter
|
|
7222 |
The port for communicating with the CLDB. |
|
5660 |
The port for communicating with the FileServer. |
|
60000 |
The port for communicating with the HBase Master. |
|
5660 |
The port for communicating with the HostStats service. |
jt.port |
9001 |
The port for communicating with the JobTracker. |
|
10 |
Specifies an interval in minutes. The warden kills JobTracker services that do not respond within the specified interval and restarts them as normal for failed services. |
|
5660 |
The port for communicating with the Key/Value Store. |
|
/opt/mapr |
The directory where MapR is installed. |
|
true |
Specifies whether to enable central configuration. |
|
300 |
How often to check for configuration updates, in seconds. |
|
false |
Drop outstanding metrics when the queue to send to hoststats is too large. |
|
true |
Whether or not to configure Job Management. |
|
1111 |
Hoststats listening port for Metrics RPC activity. |
|
localhost |
Hoststats hostname for RPC activity. |
|
864000000 |
All |
|
Retains the following log files instead of removing them during the log file cleanup that occurs every ten days: cldb.log,hoststats.log,configure.log,mfs.log-* You can modify the list. Partial file names and asterisks are accepted. Log files listed as exceptions are retained indefinitely. |
|
|
false |
Set this value to true to allow services to start up even if their memory demands exceed the memory provided by the node. |
mr1.memory.percent |
50 | The percentage of memory allocated to MapReduce v1 jobs. The remaining memory is allocated to applications. For more information, see Resource Allocation for Jobs and Applications. |
mr1.cpu.percent |
50 | The percentage of CPU allocated to MapReduce v1 jobs. The remaining memory is allocated to applications. For more information, see Resource Allocation for Jobs and Applications. |
mr1.disk.percent |
50 | The percentage of memory allocated to MapReduce v1 jobs. The remaining memory is allocated to applications. For more information, see Resource Allocation for Jobs and Applications. |
isDB |
true | Specifies if MapR-DB is in use. When this value is
false , the
service.command.mfs.heapsize.percent is set to 20. Do
not manually edit this value. For more information, see Memory Allocation for Nodes. |
For information on configuration files for additional services, see warden.<servicename>.conf.