cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: "Error connection to remote JMX agent" during repair
Date Tue, 08 Nov 2011 09:40:49 GMT
On Mon, Nov 7, 2011 at 10:24 PM, Maxim Potekhin <potekhin@bnl.gov> wrote:
> Hello,
>
> I'm trying to run "repair" on one of my nodes which needs to be repopulated
> after
> a failure of the hard drive. What I'm getting is below. Note: I'm not
> loading JMX
> with Cassandra, it always worked before... The version if 0.8.6.
>
> Any help will be appreciated,

This is the JMX connection timing out (this is not due to Cassandra).
This is "ok" in the sense that it only mean you have been disconnected
from the JMX server. But the repair should not be interrupted by this.

But that does mean you'll have to rely on the compaction manager and
streaming monitoring (and the log file) to see when that repair finishes.

--
Sylvain

>
> Maxim
>
>
> Error connection 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:338)
>        at
> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
>        at org.apache.cassandra.tools.NodeProbe.connect(NodeProbe.java:140)
>        at org.apache.cassandra.tools.NodeProbe.<init>(NodeProbe.java:110)
>        at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:582)
> 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:101)
>        at
> com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
>        at javax.naming.InitialContext.lookup(InitialContext.java:392)
>        at
> javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
>        at
> javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
>        at
> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
>        ... 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:286)
>        at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
>        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
>        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
>        at
> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
>        ... 9 more
> Caused by: java.net.SocketTimeoutException: Read timed out
>        at java.net.SocketInputStream.socketRead0(Native Method)
>        at java.net.SocketInputStream.read(SocketInputStream.java:129)
>        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
>        at java.io.DataInputStream.readByte(DataInputStream.java:248)
>        at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
>
>

Mime
View raw message