Reputation: 441
I get backup from keyspace of the cassandra 1.2.4.When i restore the snapshot in version 2.0.5 of cassandra , I can't start service of cassandra.
I get this error:
could not access pidfile for Cassandra
When repair permissions of the directories of cassandra and again start the cassandra, it is not running.
In system.log file there is exception:
ERROR [SSTableBatchOpen:1] 2014-04-15 12:25:45,797 SSTableReader.java (line 268) Corrupt sstable /var/lib/cassandra/data/keyspace/users667409781968744488$ java.io.EOFException
what is the problem? and how can i resolve this?
is it because of restoring Cassandra snapshots from 1.2.4
to 2.0.5
?
Upvotes: 0
Views: 644
Reputation: 2266
UPDATE
FINE POINTS
Upvotes: 0
Reputation: 991
You cannot directly upgrade from 1.2.4 to 2.0.5. You have to do a rolling upgrade.You gotto upgrade first to 1.2.15 and then do an upgrade to 2.0.5.
http://www.datastax.com/documentation/upgrade/doc/upgrade/cassandra/upgradeC_c.html
Upvotes: 1