You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Matthew F. Dennis (JIRA)" <ji...@apache.org> on 2011/02/07 20:20:57 UTC

[jira] Created: (CASSANDRA-2126) RMI call times out on large repair jobs

RMI call times out on large repair jobs
---------------------------------------

                 Key: CASSANDRA-2126
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2126
             Project: Cassandra
          Issue Type: Bug
            Reporter: Matthew F. Dennis
            Priority: Minor


It looks like when a repair is started via nodetool and the repair takes a long time the blocking RMI call can timeout before the repair finishes.  The repair will continue to run and correctly complete, but the caller receives a stack trace referencing EOFException.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-2126) RMI call times out on large repair jobs

Posted by "Matthew F. Dennis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew F. Dennis updated CASSANDRA-2126:
-----------------------------------------

    Affects Version/s: 0.7.0

> RMI call times out on large repair jobs
> ---------------------------------------
>
>                 Key: CASSANDRA-2126
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2126
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Matthew F. Dennis
>            Priority: Minor
>
> It looks like when a repair is started via nodetool and the repair takes a long time the blocking RMI call can timeout before the repair finishes.  The repair will continue to run and correctly complete, but the caller receives a stack trace referencing EOFException.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-2126) RMI call times out on large repair jobs

Posted by "Matthew F. Dennis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew F. Dennis updated CASSANDRA-2126:
-----------------------------------------

    Description: 
It looks like when a repair is started via nodetool and the repair takes a long time the blocking RMI call can timeout before the repair finishes.  The repair will continue to run and correctly complete, but the caller receives a stack trace similar to:

{noformat}
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:209)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
        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:993)
        at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
        at $Proxy0.forceTableRepair(Unknown Source)
        at org.apache.cassandra.tools.NodeProbe.forceTableRepair(NodeProbe.java:155)
        at org.apache.cassandra.tools.NodeCmd.optionalKSandCFs(NodeCmd.java:635)
        at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:546)
Caused by: java.io.EOFException
        at java.io.DataInputStream.readByte(DataInputStream.java:250)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195)
        ... 9 more
{noformat}


  was:It looks like when a repair is started via nodetool and the repair takes a long time the blocking RMI call can timeout before the repair finishes.  The repair will continue to run and correctly complete, but the caller receives a stack trace referencing EOFException.


> RMI call times out on large repair jobs
> ---------------------------------------
>
>                 Key: CASSANDRA-2126
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2126
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Matthew F. Dennis
>            Priority: Minor
>
> It looks like when a repair is started via nodetool and the repair takes a long time the blocking RMI call can timeout before the repair finishes.  The repair will continue to run and correctly complete, but the caller receives a stack trace similar to:
> {noformat}
> 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:209)
>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>         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:993)
>         at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
>         at $Proxy0.forceTableRepair(Unknown Source)
>         at org.apache.cassandra.tools.NodeProbe.forceTableRepair(NodeProbe.java:155)
>         at org.apache.cassandra.tools.NodeCmd.optionalKSandCFs(NodeCmd.java:635)
>         at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:546)
> Caused by: java.io.EOFException
>         at java.io.DataInputStream.readByte(DataInputStream.java:250)
>         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195)
>         ... 9 more
> {noformat}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-2126) RMI call times out on large repair jobs

Posted by "David Allsopp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069514#comment-13069514 ] 

David Allsopp commented on CASSANDRA-2126:
------------------------------------------

I've just had exactly the same exception for a nodetool loadbalance operation (on v0.7.6)

> RMI call times out on large repair jobs
> ---------------------------------------
>
>                 Key: CASSANDRA-2126
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2126
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Matthew F. Dennis
>            Priority: Minor
>
> It looks like when a repair is started via nodetool and the repair takes a long time the blocking RMI call can timeout before the repair finishes.  The repair will continue to run and correctly complete, but the caller receives a stack trace similar to:
> {noformat}
> 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:209)
>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>         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:993)
>         at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
>         at $Proxy0.forceTableRepair(Unknown Source)
>         at org.apache.cassandra.tools.NodeProbe.forceTableRepair(NodeProbe.java:155)
>         at org.apache.cassandra.tools.NodeCmd.optionalKSandCFs(NodeCmd.java:635)
>         at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:546)
> Caused by: java.io.EOFException
>         at java.io.DataInputStream.readByte(DataInputStream.java:250)
>         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195)
>         ... 9 more
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CASSANDRA-2126) RMI call times out on large repair jobs

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2126:
--------------------------------------

          Component/s: Tools
    Affects Version/s:     (was: 0.7.0)

> RMI call times out on large repair jobs
> ---------------------------------------
>
>                 Key: CASSANDRA-2126
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2126
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Matthew F. Dennis
>            Priority: Minor
>
> It looks like when a repair is started via nodetool and the repair takes a long time the blocking RMI call can timeout before the repair finishes.  The repair will continue to run and correctly complete, but the caller receives a stack trace referencing EOFException.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (CASSANDRA-2126) RMI call times out on large repair jobs

Posted by "David Allsopp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069514#comment-13069514 ] 

David Allsopp edited comment on CASSANDRA-2126 at 7/22/11 11:50 AM:
--------------------------------------------------------------------

I've just had almost the same exception for a nodetool loadbalance operation (on v0.7.6):

{noformat}
$ nodetool -h dev2 -p8080 loadbalance
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:1001)
	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:305)
	at $Proxy0.loadBalance(Unknown Source)
	at org.apache.cassandra.tools.NodeProbe.loadBalance(NodeProbe.java:352)
	at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:541)
Caused by: java.io.EOFException
	at java.io.DataInputStream.readByte(DataInputStream.java:267)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:213)
	... 8 more
{noformat}

      was (Author: dallsopp):
    I've just had exactly the same exception for a nodetool loadbalance operation (on v0.7.6)
  
> RMI call times out on large repair jobs
> ---------------------------------------
>
>                 Key: CASSANDRA-2126
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2126
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Matthew F. Dennis
>            Priority: Minor
>
> It looks like when a repair is started via nodetool and the repair takes a long time the blocking RMI call can timeout before the repair finishes.  The repair will continue to run and correctly complete, but the caller receives a stack trace similar to:
> {noformat}
> 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:209)
>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>         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:993)
>         at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
>         at $Proxy0.forceTableRepair(Unknown Source)
>         at org.apache.cassandra.tools.NodeProbe.forceTableRepair(NodeProbe.java:155)
>         at org.apache.cassandra.tools.NodeCmd.optionalKSandCFs(NodeCmd.java:635)
>         at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:546)
> Caused by: java.io.EOFException
>         at java.io.DataInputStream.readByte(DataInputStream.java:250)
>         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195)
>         ... 9 more
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira