You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2015/01/27 14:58:34 UTC

[jira] [Commented] (CASSANDRA-8688) Standalone sstableupgrade tool throws exception

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

Marcus Eriksson commented on CASSANDRA-8688:
--------------------------------------------

+1

> Standalone sstableupgrade tool throws exception
> -----------------------------------------------
>
>                 Key: CASSANDRA-8688
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8688
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Yuki Morishita
>            Assignee: Yuki Morishita
>            Priority: Minor
>             Fix For: 2.1.3
>
>         Attachments: 0001-remove-size-calculation-from-standalone-sstbaleupgra.patch
>
>
> Standalone sstableupgrade throws following exception:
> {code}
> Exception in thread "main" java.lang.AssertionError: Incoherent new size -1 replacing [SSTableReader(path='/cassandra/bin/./../data/data/ks/cf-0f578640a59211e4a5a2ef9f87394ca6/ks-cf-jb-53881-Data.db')] by [] in View(pending_count=0, sstables=[], compacting=[])
> at org.apache.cassandra.db.DataTracker$View.newSSTables(DataTracker.java:741)
> at org.apache.cassandra.db.DataTracker$View.replace(DataTracker.java:713)
> at org.apache.cassandra.db.DataTracker.removeSSTablesFromTracker(DataTracker.java:418)
> at org.apache.cassandra.db.DataTracker.markCompactedSSTablesReplaced(
> DataTracker.java:273)
> 	at org.apache.cassandra.db.compaction.Upgrader.upgrade(Upgrader.java:96)
> {code}
> Upgrader is trying to calculate SSTables size dispite the tool is meant to be used offline.
> This is introduced in CASSANDRA-7852 and only affects cassandra 2.1.2.
> Online upgrade (nodetool upgradesstables) is not affected.



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