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 |
---|---|---|
|
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. |
|
35 |
The percentage of heap space reserved for the MapR-FS. If
the value for |
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. |
|
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. |
|
5660 |
The port for communicating with the HostStats service. |
|
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. |
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.