You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2015/11/11 23:57:10 UTC

[jira] [Resolved] (CASSANDRA-10005) Streaming not enough bytes error

     [ https://issues.apache.org/jira/browse/CASSANDRA-10005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuki Morishita resolved CASSANDRA-10005.
----------------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: 2.2.x)

Closing as dupe of CASSANDRA-10012.

> Streaming not enough bytes error
> --------------------------------
>
>                 Key: CASSANDRA-10005
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10005
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Chris Moos
>            Assignee: Yuki Morishita
>            Priority: Minor
>              Labels: triaged
>         Attachments: deadlock.txt, errors.txt
>
>
> I'm adding a new node to the cluster and I'm seeing a bunch of the errors below and the node never joins. It looks like a deadlock.
> After looking through the code it looks like IncomingFileMessage will tell the session to retry on Exceptions (except IOException) but the CompressedInputStream thread is still running and then the retry happens and the deadlock ensues. It might be best to close the StreamReader (and stop the thread) if an Exception happens before retrying.
> I'm not sure why I am getting this error to begin with though, might it have something to do with not being able to upgrade my SSTables after going from 2.1.2 -> 2.2.0?
> {code}
> error: null
> -- StackTrace --
> java.lang.AssertionError
>         at org.apache.cassandra.db.lifecycle.LifecycleTransaction.checkUnused(LifecycleTransaction.java:428)
>         at org.apache.cassandra.db.lifecycle.LifecycleTransaction.split(LifecycleTransaction.java:408)
>         at org.apache.cassandra.db.compaction.CompactionManager.parallelAllSSTableOperation(CompactionManager.java:268)
>         at org.apache.cassandra.db.compaction.CompactionManager.performSSTableRewrite(CompactionManager.java:373)
>         at org.apache.cassandra.db.ColumnFamilyStore.sstablesRewrite(ColumnFamilyStore.java:1524)
>         at org.apache.cassandra.service.StorageService.upgradeSSTables(StorageService.java:2521)
> {code}



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