Michael Kjellman created CASSANDRA-4841:
-------------------------------------------

             Summary: Exception thrown during nodetool repair -pr
                 Key: CASSANDRA-4841
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4841
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.6
         Environment: Ubuntu 12.04 x64, 32GB RAM
            Reporter: Michael Kjellman
            Priority: Critical


During a nodetool repair -pr an exception was thrown.

root@scl-cas04:~# nodetool repair -pr
Exception in thread "main" java.rmi.UnmarshalException: Error unmarshaling 
return header; nested exception is:
        java.io.EOFException
        at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:227)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
        at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
        at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown 
Source)
        at 
javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:1017)
        at 
javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:305)
        at $Proxy0.forceTableRepairPrimaryRange(Unknown Source)
        at 
org.apache.cassandra.tools.NodeProbe.forceTableRepairPrimaryRange(NodeProbe.java:209)
        at 
org.apache.cassandra.tools.NodeCmd.optionalKSandCFs(NodeCmd.java:1044)
        at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:834)
Caused by: java.io.EOFException
        at java.io.DataInputStream.readByte(DataInputStream.java:267)
        at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:213)
        ... 9 more

Logs:

WARN 20:53:27,135 Heap is 0.9710037912028483 full.  You may need to reduce 
memtable and/or cache sizes.  Cassandr
a will now flush up to the two largest memtables to free up memory.  Adjust 
flush_largest_memtables_at threshold i
n cassandra.yaml if you don't want Cassandra to do this automatically

regardless of configuration issues a repair shouldn't crash a node.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to