[ https://issues.apache.org/jira/browse/CASSANDRA-5792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuki Morishita updated CASSANDRA-5792: -------------------------------------- Attachment: 5792.txt There is a chance we get nothing from socket, like when socket gets closed. Patch attached to check we actually read something from socket. > Buffer Underflow during streaming > --------------------------------- > > Key: CASSANDRA-5792 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5792 > Project: Cassandra > Issue Type: Bug > Reporter: Brandon Williams > Assignee: Yuki Morishita > Fix For: 2.0 > > Attachments: 5792.txt > > > {noformat} > ERROR [STREAM-IN-/127.0.0.3] 2013-07-22 16:19:50,597 StreamSession.java (line > 414) Streaming error occurred > java.nio.BufferUnderflowException > at java.nio.Buffer.nextGetIndex(Buffer.java:492) > at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:135) > at > org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:52) > at > org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:288) > at java.lang.Thread.run(Thread.java:722) > {noformat} -- 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