cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolai Grigoriev (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-8740) java.lang.AssertionError when reading saved cache
Date Wed, 04 Feb 2015 18:36:35 GMT
Nikolai Grigoriev created CASSANDRA-8740:

             Summary: java.lang.AssertionError when reading saved cache
                 Key: CASSANDRA-8740
             Project: Cassandra
          Issue Type: Bug
          Components: Core
         Environment: OEL 6.5, DSE 4.6.0, Cassandra
            Reporter: Nikolai Grigoriev

I have started seeing it recently. Not sure from which version but now it happens relatively
often one some of my nodes.

 INFO [main] 2015-02-04 18:18:09,253 (line 249) Initializing duo_xxxxxxxxxxx
 INFO [main] 2015-02-04 18:18:09,254 (line 114) reading saved cache /var/lib/cassandra/saved_caches/duo_xxxxxxxxxxx-RowCach
ERROR [main] 2015-02-04 18:18:09,256 (line 513) Exception encountered
during startup
        at org.apache.cassandra.cache.SerializingCacheProvider$RowCacheSerializer.serialize(
        at org.apache.cassandra.cache.SerializingCacheProvider$RowCacheSerializer.serialize(
        at org.apache.cassandra.cache.SerializingCache.serialize(
        at org.apache.cassandra.cache.SerializingCache.put(
        at org.apache.cassandra.cache.InstrumentingCache.put(
        at org.apache.cassandra.cache.AutoSavingCache.loadSaved(
        at org.apache.cassandra.db.ColumnFamilyStore.initRowCache(
        at org.apache.cassandra.service.CassandraDaemon.setup(
        at com.datastax.bdp.server.DseDaemon.setup(
        at org.apache.cassandra.service.CassandraDaemon.activate(
        at com.datastax.bdp.server.DseDaemon.main(
 INFO [Thread-2] 2015-02-04 18:18:09,259 (line 505) DSE shutting down...
ERROR [Thread-2] 2015-02-04 18:18:09,279 (line 199) Exception in thread
        at org.apache.cassandra.gms.Gossiper.addLocalApplicationState(
        at com.datastax.bdp.gms.DseState.setActiveStatus(
        at com.datastax.bdp.server.DseDaemon.stop(
        at com.datastax.bdp.server.DseDaemon$
 INFO [main] 2015-02-04 18:18:49,144 (line 135) Logging initialized
 INFO [main] 2015-02-04 18:18:49,169 (line 382) DSE version: 4.6.0

Cassandra version: (DSE 4.6.0)

Looks like similar issues were reported and fixed in the past - like CASSANDRA-6325.

Maybe I am missing something, but I think that Cassandra should not crash and stop at startup
if it cannot read a saved cache. This does not make the node inoperable and does not necessarily
indicate a severe data corruption. I have applied a small change to my cluster config, restarted
it and 30% of my nodes did not start because of that. Of course the solution is simple, but
it requires to go to every node that failed to start, wipe the cache and start.

This message was sent by Atlassian JIRA

View raw message