RSS

JConsole with Cassandra DB

07 Mar

Most of the people cannot find the way to connect to the Cassandra DB process through the JConsole. Let me explain how to do in simple way.

1. First you have to download the Cassandra DB and do the following changes on $Cassandra_Home/conf/cassandra-env.sh

JVM_OPTS=”$JVM_OPTS -Dcom.sun.management.jmxremote.ssl=false”
JVM_OPTS=”$JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=false”
JVM_OPTS=”$JVM_OPTS -Djava.rmi.server.hostname=ec2-54-242-183-160.compute-1.amazonaws.com”

is-1

2. Now Start the Cassandra DB now you can connect to the Cassandra Process through the JConsole.

URL – service:jmx:rmi:///jndi/rmi://:7199/jmxrmi
ex/ service:jmx:rmi:///jndi/rmi://ec2-54-242-183-160.compute-1.amazonaws.com:7199/jmxrmi

is

You don’t need to put Username and Password to connect.

is

About these ads
 
Leave a comment

Posted by on March 7, 2013 in java, Other

 

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: