incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Error in upgrading cassandra to 0.8.5
Date Tue, 13 Sep 2011 13:33:55 GMT
Just remove the row cache files.

On Tue, Sep 13, 2011 at 8:23 AM, Roshan Dawrani <roshandawrani@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

Mime
View raw message