Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # dev >> Connect Jconsole remotely to the zookeeper server

Rakesh R 2012-06-22, 10:33
Patrick Hunt 2012-06-22, 16:55
Copy link to this message
RE: Connect Jconsole remotely to the zookeeper server
Thanks a lot Pat for your time and reply.

Oh! it seems  I didn't explain clearly :(

Actually I was searching to connect jconsole remotely to the zk server and I'm able to connect,  after configuring the following arguments in zkServer.sh

As you explained, I understand "zookeeper supported in the sense that the jvm supports it"

But my use case is:
I'm having OM for managing all the processes in the cluster, he will manage my ZooKeeper cluster. Now while installing and starting zookeeper instances,  OM won't be able to configure these 'jmxremote' parameters for multiple instances as it needs to configure different jmx ports for the zk servers.

My question is, whether zookeeper should expose 'jmxremote' parameters as configurable items[one suggestion like env variable as follows]. So that OM can configure it and start multiple servers? Also application users can use these to connect to the zk server remotely.

From: Patrick Hunt [[EMAIL PROTECTED]]
Sent: Friday, June 22, 2012 10:25 PM
Subject: Re: Connect Jconsole remotely to the zookeeper server

It's supported in the sense that the jvm supports it. I'm not sure
what you're asking.


On Fri, Jun 22, 2012 at 3:33 AM, Rakesh R <[EMAIL PROTECTED]> wrote:
> Hi All,
> JMX remote monitoring:
> ---------------------------
> I failed to find any configuration for the 'jmxPort' in the zookeeper. I've hardcoded the jmx port and other remote configurations in the zkServer.sh script file as follows and able to connect remotely.
> -Dcom.sun.management.jmxremote.port=5000
> -Dcom.sun.management.jmxremote.authenticate=false
> -Dcom.sun.management.jmxremote.ssl=false
> Does zookeeper support remote connection. Is there anything I'm missing?
> Thanks & Regards,
> Rakesh
Patrick Hunt 2012-06-25, 21:53
Rakesh R 2012-06-26, 08:08