cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Smith (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8314) C* 2.1.1: AssertionError: "stream can only read forward"
Date Thu, 13 Nov 2014 23:32:33 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14211469#comment-14211469
] 

Donald Smith commented on CASSANDRA-8314:
-----------------------------------------

BTW, earlier we got this exception when run “nodetool upgradesstables”:
{noformat}
java.lang.NullPointerException
        at org.apache.cassandra.io.sstable.SSTableReader.cloneWithNewStart(SSTableReader.java:951)
        at org.apache.cassandra.io.sstable.SSTableRewriter.moveStarts(SSTableRewriter.java:238)
        at org.apache.cassandra.io.sstable.SSTableRewriter.maybeReopenEarly(SSTableRewriter.java:180)
        at org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:109)
        at org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:183)
        at org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
        at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:75)
        at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
        at org.apache.cassandra.db.compaction.CompactionManager$4.execute(CompactionManager.java:340)
        at org.apache.cassandra.db.compaction.CompactionManager$2.call(CompactionManager.java:267)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
{noformat}

> C* 2.1.1: AssertionError:  "stream can only read forward"
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-8314
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8314
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Donald Smith
>
> I see this multiple nodes on a 2.1.1 cluster running on CentOS 6.4:
> {noformat}
> ERROR [STREAM-IN-/10.6.1.104] 2014-11-13 14:13:16,565 StreamSession.java (line 470) [Stream
#45bdfe30-6b81-11e4-a7ca-b150b4554347] Streaming error occurred
> java.io.IOException: Too many retries for Header (cfId: aaefa7d7-9d72-3d18-b5f0-02b30cee5bd7,
#29, version: jb, estimated keys: 12672, transfer size: 130005779, compressed?: true, repairedAt:
0)
>         at org.apache.cassandra.streaming.StreamSession.doRetry(StreamSession.java:594)
[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:53)
[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:38)
[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:55)
[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:245)
[apache-cassandra-2.1.1.jar:2.1.1]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
> Caused by: java.lang.AssertionError: stream can only read forward.
>         at org.apache.cassandra.streaming.compress.CompressedInputStream.position(CompressedInputStream.java:107)
~[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.streaming.compress.CompressedStreamReader.read(CompressedStreamReader.java:85)
~[apache-cassandra-2.1.1.jar:2.1.1]
>         at org.apache.cassandra.streaming.messages.IncomingFileMessage$1.deserialize(IncomingFileMessage.java:48)
[apache-cassandra-2.1.1.jar:2.1.1]
>         ... 4 common frames omitted
> {noformat}
> We couldn't upgrade SStables due to exceptions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message