incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Guecioueur <ahme...@gmail.com>
Subject Cassandra 1.2.1 key cache error
Date Tue, 12 Feb 2013 12:22:42 GMT
Hi

I am currently evaluating Cassandra on a single node. Running the node
seems fine, it responds to Thrift (via Hector) and CQL3 requests to create
& delete keyspaces. I have not yet tested any data operations.

However, I get the following each time the node is started. This is using
the latest production jars (*v 1.2.1*) downloaded from the Apache website:


 INFO [main] 2013-02-07 19:48:55,610 AutoSavingCache.java (line 139)
reading saved cache C:\Cassandra\saved_caches\system-local-KeyCache-b.db
* WARN [main] 2013-02-07 19:48:55,614 AutoSavingCache.java (line 160) error
reading saved cache C:\Cassandra\saved_caches\system-local-KeyCache-b.db*
*java.io.EOFException*
at java.io.DataInputStream.readInt(Unknown Source)
at
org.apache.cassandra.utils.ByteBufferUtil.readWithLength(ByteBufferUtil.java:349)
at
org.apache.cassandra.service.CacheService$KeyCacheSerializer.deserialize(CacheService.java:378)
at
org.apache.cassandra.cache.AutoSavingCache.loadSaved(AutoSavingCache.java:144)
at
org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:277)
at
org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:392)
at
org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:364)
at org.apache.cassandra.db.Table.initCf(Table.java:337)
at org.apache.cassandra.db.Table.<init>(Table.java:280)
at org.apache.cassandra.db.Table.open(Table.java:110)
at org.apache.cassandra.db.Table.open(Table.java:88)
at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:421)
at
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:177)
at
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:370)
at
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:413)
 INFO [SSTableBatchOpen:1] 2013-02-07 19:48:56,212 SSTableReader.java (line
164) Opening C:\Cassandra\data\system_auth\users\system_auth-users-ib-1 (72
bytes)
 INFO [main] 2013-02-07 19:48:56,242 CassandraDaemon.java (line 224)
completed pre-loading (3 keys) key cache.


That binary file exists, though ofc the content is unreadable. Deleting the
file and letting it be recreated doesn't help either.

Can anyone suggest any other solutions?

Cheers
Ahmed

Mime
View raw message