You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2014/04/01 14:50:14 UTC

[jira] [Commented] (CASSANDRA-6967) upgradesstables won't upgrade the system-Versions-hf files

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

Sylvain Lebresne commented on CASSANDRA-6967:
---------------------------------------------

You can just delete those system-Versions files. The Versions system table is an old table that has been removed in C* 1.2. Not sure why you still have sstables around for that old table, but upgradesstables is right to tell that this table is unknown.

Maybe we can add some cleanup at starting in 1.2 to remove those sstables? 

> upgradesstables won't upgrade the system-Versions-hf files
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-6967
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6967
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Nicolas Lalevée
>
> In order to properly upgrade our test cluster from 1.2.11 to 2.0.6, we had to perform some upgradesstables, Cassandra 2.0.6 was not starting due to some file in version 'hf'.
> To prepare the upgrade on prod, I have looked up for some 'hf' files, and I have found some on all nodes, all being /var/lib/cassandra/data/system/Versions/system-Versions-hf-*
> And I have tried many upgradesstables command, there are still lying there.
> {noformat}
> # nodetool upgradesstables system Versions
> Exception in thread "main" java.lang.IllegalArgumentException: Unknown table/cf pair (system.Versions)
> # nodetool upgradesstables system
> # nodetool upgradesstables
> # nodetool upgradesstables -a system
> # ls /var/lib/cassandra/data/system/Versions/*-hf-* | wc -l
> 15
> {noformat}
> I did not try "nodetool upgradesstables -a" since we have a lot of data.



--
This message was sent by Atlassian JIRA
(v6.2#6252)