cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain RODRIGUEZ <arodr...@gmail.com>
Subject Re: Compaction Error
Date Thu, 16 Jul 2015 16:07:55 GMT
Hi Kiran,

Nodetool uses 7199 port to connect (JMX).

Plus, you might want to precise what keyspace and table you want to compact.

http://docs.datastax.com/en/cassandra/2.0/cassandra/tools/toolsNodetool_r.html
http://docs.datastax.com/en/cassandra/2.0/cassandra/tools/toolsCompact.html

C*heers,

Alain

2015-07-16 17:42 GMT+02:00 Kiran mk <coolkiran2006@gmail.com>:

> Hi All,
>
> I am trying to do compaction on the same node.  But getting the below
> error any suggestion on this.
>
> 9160 Port is already opened
>
>  nodetool -h testserv1 -p 9160 compact
> Error connecting to remote JMX agent!
> java.io.IOException: Failed to retrieve RMIServer stub:
> javax.naming.CommunicationException [Root exception is
> java.rmi.ConnectIOException: error during JRMP connection establishment;
> nested exception is:
>         java.net.SocketTimeoutException: Read timed out]
>         at
> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369)
>         at
> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
>         at org.apache.cassandra.tools.NodeProbe.connect(NodeProbe.java:151)
>         at org.apache.cassandra.tools.NodeProbe.<init>(NodeProbe.java:121)
>         at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:1274)
> Caused by: javax.naming.CommunicationException [Root exception is
> java.rmi.ConnectIOException: error during JRMP connection establishment;
> nested exception is:
>         java.net.SocketTimeoutException: Read timed out]
>         at
> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118)
>         at
> com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:203)
>         at javax.naming.InitialContext.lookup(InitialContext.java:411)
>         at
> javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1929)
>         at
> javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1896)
>         at
> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:286)
>         ... 4 more
> Caused by: java.rmi.ConnectIOException: error during JRMP connection
> establishment; nested exception is:
>         java.net.SocketTimeoutException: Read timed out
>         at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:304)
>         at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
>         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)
>         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
>         at
> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:114)
>         ... 9 more
> Caused by: java.net.SocketTimeoutException: Read timed out
>         at java.net.SocketInputStream.socketRead0(Native Method)
>         at java.net.SocketInputStream.read(SocketInputStream.java:152)
>         at java.net.SocketInputStream.read(SocketInputStream.java:122)
>         at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
>         at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
>         at java.io.DataInputStream.readByte(DataInputStream.java:265)
>         at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:246)
>         ... 13 more
>
>
> --
> Best Regards,
> Kiran.M.K.
>

Mime
View raw message