Table of Contents |
---|
...
Below is the image of CDH UI:
ZooKeeper
Adjust your zkServer.sh (usually found at /usr/lib/zookeeper/bin/zkServer.sh) by changing JVMFLAGS as follows:
Code Block | ||
---|---|---|
| ||
export JVMFLAGS="$JVMFLAGS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=3000 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false" |
...
Code Block | ||
---|---|---|
| ||
export JMX_PORT=${JMX_PORT:-9999} |
Or start Kafka Broker like:
...
For Workers (use this approach to have Storm dynamically assign a JMX port to each Worker choosing from the port range specified in the storm.yaml):
Code Block | ||
---|---|---|
| ||
worker.childopts: "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=%ID%" |
...