zookeeper-env.sh

Use this file to load or unload JMX parameters for ZooKeeper.

Important: MapR version 6.0.x, and MapR version 6.1.x require a patch to use this functionality.

By default, in all MapR versions, the ZooKeeper JMX parameters are not loaded.

To load ZooKeeper JMX parameters, set the JMXDISABLE parameter to false in the zookeeper-env.sh file within the /opt/mapr/zookeeper/zookeeper-$version/conf directory.

JMXDISABLE=false

Restart the ZooKeeper process: service mapr-zookeeper restart.

To unload ZooKeeper JMX parameters, set:

JMXDISABLE=true

in zookeeper-env.sh. Restart the ZooKeeper process: service mapr-zookeeper restart.