zookeeper-env.sh
Use this file to load or unload JMX parameters for ZooKeeper.
By default, in all Data Fabric 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
.