Hi. Thanks for replying back. Just a quick cross-confirmation, if you don't mind:
So, I can do the following without fearing any loss of data, etc? * "nodetool drain" and bring down the 0.7.0 node (it's a one node setup that I am upgrading) * remove all files from saved_caches directory (both system*-KeyCache as well as application-specific*-KeyCache files) * bring up the new 0.8.5 node (pointing to same "data" and "commitlog" directories) The *KeyCache files can be removed safely in between, right? Cheers. On Tue, Sep 13, 2011 at 7:03 PM, Jonathan Ellis <jbel...@gmail.com> wrote: > Just remove the row cache files. > > On Tue, Sep 13, 2011 at 8:23 AM, Roshan Dawrani <roshandawr...@gmail.com> > wrote: > > Hi, > > I am in the process of upgrading Cassandra to the recently released > v0.8.5 > > and facing an issue. > > We had two Cassandra environments - one having 0.7.0 and another 0.7.2. > The > > upgrade on 0.7.2 has happened smoothly, but on the environment having > 0.7.0, > > when I make the switch, the DB fails to come up with the error below. > > Can someone help please? > > > ------------------------------------------------------------------------------------------------------------- > > INFO 13:03:46,025 JNA not found. Native methods will be disabled. > > INFO 13:03:46,034 Loading settings from > > file:/apache-cassandra-0.8.5/conf/cassandra.yaml > > INFO 13:03:46,195 DiskAccessMode 'auto' determined to be mmap, > > indexAccessMode is mmap > > ... > > INFO 13:03:46,307 Removing compacted SSTable files (see > > http://wiki.apache.org/cassandra/MemtableSSTable) > > INFO 13:03:46,379 reading saved cache > > /cassandra/saved_caches/system-IndexInfo-KeyCache > > ERROR 13:03:46,380 Exception encountered during startup. > > java.lang.NegativeArraySizeException > > at > > > org.apache.cassandra.cache.AutoSavingCache.readSaved(AutoSavingCache.java:130) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:273) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:465) > > at > > > org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:435) > > at org.apache.cassandra.db.Table.initCf(Table.java:369) > > at org.apache.cassandra.db.Table.<init>(Table.java:306) > > at org.apache.cassandra.db.Table.open(Table.java:111) > > at > > org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:217) > > at > > > org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:154) > > at > > > org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:341) > > at > > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:97) > > > ------------------------------------------------------------------------------------------------------------- > > -- > > Roshan > > Blog: http://roshandawrani.wordpress.com/ > > Twitter: @roshandawrani > > Skype: roshandawrani > > > > > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of DataStax, the source for professional Cassandra support > http://www.datastax.com > -- Roshan Blog: http://roshandawrani.wordpress.com/ Twitter: @roshandawrani <http://twitter.com/roshandawrani> Skype: roshandawrani