warden.conf

Lists the configuration parameters for Warden.

The file /opt/mapr/conf/warden.conf controls parameters related to Data Fabric services and the Warden. Most of the parameters are not intended to be edited directly by users. The following list describes the parameters of interest:

NOTE
When defining heapsize values for services, keep in mind that service.heapsize.percent is bound by service.heapsize.min, if defined, and service.heapsize.max.
centralconfig.enabled
Sample Value: true
Description: Specifies whether to enable central configuration.
cldb.port
Sample Value: 7222
Description: The port to use for communicating with the CLDB.
enable.overcommit
Sample Value: true
Description:Set this value to true to allow services to start up, even if their memory demands exceed the memory provided by the node.
hoststats.port
Sample Value: 5660
Description: The port to use for communicating with the HostStats service.
hs.port
Sample Value: 1111
Description: Hoststats listening port for Metrics RPC activity.
hs.rpcon
Sample Value: true
Description: Indicates whether or not to configure Job Management.
hs.host
Sample Value: localhost
Description: Hoststats hostname for RPC activity.
isDB
Sample Value: true
Description: Specifies if HPE Ezmeral Data Fabric Database 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 Allocating Memory for Nodes..
kvstore.port
Sample Value: 5660
Description: The port for communicating with the Key/Value Store.
log.retention.exceptions
Sample Value: mfs.log-*
Description: 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 and mfs.log-*.

You can modify the list. This parameter accepts partial file names and asterisks. Log files listed as exceptions are retained indefinitely.

To disable all exceptions, comment out this parameter, that is, #log.retention.exceptions. When this parameter is null, that is, log.retention.exceptions=, no files are picked for log cleanup.

log.retention.time
Sample Value: 864000000
Description: All .log and .out files in the cluster are kept for a time period defined in milliseconds by the value of the log.retention.time parameter. The default value is ten days. Restart the Warden after changing this value.
mapr.home.dir
Sample Value: /opt/mapr
Description: Data Fabric installation directory.
mfs.port
Sample Value: 7222
Description: The port to use for communicating with the Fileserver.
pollcentralconfig.interval.seconds
Sample Value: 300
Description: The frequency (in seconds) to check for central configuration updates.
rpc.drop
Sample Value: false
Description: Drop outstanding metrics when the queue to send to hoststats is too large.
service.command.cldb.heapsize.max
Sample Value: 4000
Description: The maximum heap space, specified in MB, that the CLDB can use.
service.command.cldb.heapsize.min
Sample Value: 256
Description: The minimum heap space, specified in MB, that the CLDB can use.
service.command.cldb.heapsize.percent
Sample Value: 8
Description: The percentage of heap space reserved for CLDB.
service.command.cldb.retryinterval.time.sec
Sample Value: 600
Description: Specifies an interval in seconds. The warden attempts to restart a failed CLDB service when this interval expires.
NOTE
The warden restarts the CLDB service only if the service has been stopped unintentionally - for example, the service crashed. Warden does not restart a CLDB service that has been stopped intentionally using the maprcli node services command.
service.command.mfs.heapsize.maxpercent
Sample Value: 85
Description: The maximum percentage of heap space that can be allocated to the file system. Restart the Warden after modifying this setting.
service.command.mfs.heapsize.min
Sample Value: 512
Description: The minimum heap space, specified in MB, that can be allocated to the file system. Restart the Warden after modifying this setting.
service.command.mfs.heapsize.percent
Sample Value: 35
Description: The percentage of heap space reserved for the file system. If the value for isDB is true, you cannot set this property to a value lower than 35. If you set this parameter to a value lower than 35, the value reverts to 35 when the Warden restarts, to ensure that when the HPE Ezmeral Data Fabric Database is enabled, corresponding cache allocation occurs. If you want to lower the heapsize allocated to the file system, you must change service.command.mfs.heapsize.maxpercent instead. Restart the Warden after modifying this setting.
service.command.nfs.heapsize.max
Sample Value: 1000
Description: The maximum heap space, specified in MB, that the NFS can use.
service.command.nfs.heapsize.min
Sample Value: 64
Description: The minimum heap space, specified in MB, that the NFS can use.
service.command.nfs.heapsize.percent
Sample Value: 3
Description: The percentage of heap space reserved for the NFS.
service.command.os.heapsize.max
Sample Value: 750
Description: The maximum heap space, specified in MB, that can be used by the operating system.
service.command.os.heapsize.min
Sample Value: 256
Description: The minimum heap space, specified in MB, for use by the operating system.
service.command.os.heapsize.percent
Sample Value: 3
Description: The percentage of heap space reserved for the operating system.
service.command.webserver.heapsize.min
Sample Value: 512
Description: The minimum heap space, specified in MB, for use by the Control System.
service.command.webserver.heapsize.percent
Sample Value: 3
Description: The percentage of heap space reserved for the Control System.
service.nice.value
Sample Value: -10
Description: The nice priority under which all services run.
services.memoryallocation.alarm.threshold
Sample Value: 95
Description: The maximum amount of system memory that services running on the node can use before triggering the NODE_ALARM_MEMORY_ALLOCATION_EXCEEDED alarm.
services.resetretries.time.sec
Sample Value: 3600
Description: Specifies a time interval in seconds. The services.retries parameter sets the number of times that the warden attempts to restart failing services within this interval.
services.retries
Sample Value: 3
Description: The number of times the Warden tries to restart a service that fails.
services.retryinterval.time.sec
Sample Value: 1800
Description: The number of seconds after which the warden attempts several times to start a failed service. The number of attempts after each interval is specified by the parameter services.retries.
warden.enable.jmxremote
Sample Value: false
Description: Set to true to enable the Warden JMX server.
zookeeper.servers
Sample Value: 10.250.1.61:5181 10.10.1.230:5181
Description: Space separated list of Zookeeper servers.

For information on configuration files for additional services, see warden.<servicename>.conf.