I see the below when I start the zookeeper in 160103
conf: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.local.only=false org.apache.zookeeper.server.quorum.QuorumPeerMain
Looks like com.sun.management.jmxremote is true by default and can be accessed remotely but I don’t see a port being set in any of the conf files. As per the zk documentation, com.sun.management.jmxremote.port=portNum needs to be set when we start the JVM, I see the rest of properties being set in the zkServer.sh but when tried to add the port, my ZK is not coming up.
any ideas on how to make it work?