incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anurag Gujral <anurag.guj...@gmail.com>
Subject Re: getting exception when cassandra 0.7.3 is starting
Date Thu, 17 Mar 2011 06:26:36 GMT
New install.
I created the saved_caches directory and I tried restarting cassandra now I
am getting
INFO 01:20:55,632 DiskAccessMode is standard, indexAccessMode is standard
 INFO 01:20:55,789 reading saved cache
/var/lib/cassandra/saved_caches/system-IndexInfo-KeyCache
ERROR 01:20:55,790 Exception encountered during startup.
java.lang.NegativeArraySizeException
    at
org.apache.cassandra.db.ColumnFamilyStore.readSavedCache(ColumnFamilyStore.java:274)
    at
org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:213)
    at
org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:466)
    at
org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:447)
    at org.apache.cassandra.db.Table.initCf(Table.java:317)
    at org.apache.cassandra.db.Table.<init>(Table.java:254)
    at org.apache.cassandra.db.Table.open(Table.java:110)
    at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:207)
    at
org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:129)
    at
org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
    at
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)
Exception encountered during startup.
java.lang.NegativeArraySizeException
    at
org.apache.cassandra.db.ColumnFamilyStore.readSavedCache(ColumnFamilyStore.java:274)
    at
org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:213)
    at
org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:466)
    at
org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:447)
    at org.apache.cassandra.db.Table.initCf(Table.java:317)
    at org.apache.cassandra.db.Table.<init>(Table.java:254)
    at org.apache.cassandra.db.Table.open(Table.java:110)
    at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:207)
    at
org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:129)
    at
org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
    at
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)


On Wed, Mar 16, 2011 at 11:22 PM, Narendra Sharma <narendra.sharma@gmail.com
> wrote:

> Is this new install or upgrade?
>
> Thanks,
> Naren
>
>
> On Wed, Mar 16, 2011 at 11:15 PM, Anurag Gujral <anurag.gujral@gmail.com>wrote:
>
>> I am getting exception when starting cassandra 0.7.3
>>
>> ERROR 01:10:48,321 Exception encountered during startup.
>> java.lang.NegativeArraySizeException
>>     at
>> org.apache.cassandra.db.ColumnFamilyStore.readSavedCache(ColumnFamilyStore.java:274)
>>     at
>> org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:213)
>>     at
>> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:466)
>>     at
>> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:447)
>>     at org.apache.cassandra.db.Table.initCf(Table.java:317)
>>     at org.apache.cassandra.db.Table.<init>(Table.java:254)
>>     at org.apache.cassandra.db.Table.open(Table.java:110)
>>     at
>> org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:207)
>>     at
>> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:129)
>>     at
>> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
>>     at
>> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)
>> Exception encountered during startup.
>> java.lang.NegativeArraySizeException
>>     at
>> org.apache.cassandra.db.ColumnFamilyStore.readSavedCache(ColumnFamilyStore.java:274)
>>     at
>> org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:213)
>>     at
>> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:466)
>>     at
>> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:447)
>>     at org.apache.cassandra.db.Table.initCf(Table.java:317)
>>     at org.apache.cassandra.db.Table.<init>(Table.java:254)
>>     at org.apache.cassandra.db.Table.open(Table.java:110)
>>     at
>> org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:207)
>>     at
>> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:129)
>>     at
>> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
>>     at
>> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)
>>
>>
>>
>

Mime
View raw message