cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joaquin Casares (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-2224) Warning error when a cache is empty
Date Wed, 23 Feb 2011 00:25:38 GMT
Warning error when a cache is empty
-----------------------------------

                 Key: CASSANDRA-2224
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2224
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 0.7.2
            Reporter: Joaquin Casares
            Assignee: Matthew F. Dennis
            Priority: Minor
             Fix For: 0.8


I get this error after repair stalled and I ran 'sudo killall java' and started up Cassandra
again. Most of my caches come with the same error and most of the files they are referencing
are empty.

INFO 00:04:37,137 reading saved cache /var/lib/cassandra/saved_caches/system-IndexInfo-KeyCache
 WARN 00:04:37,139 error reading saved cache /var/lib/cassandra/saved_caches/system-IndexInfo-KeyCache
java.io.EOFException
	at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
	at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:297)
	at org.apache.cassandra.db.ColumnFamilyStore.readSavedCache(ColumnFamilyStore.java:255)
	at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:198)
	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:451)
	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:432)
	at org.apache.cassandra.db.Table.initCf(Table.java:360)
	at org.apache.cassandra.db.Table.<init>(Table.java:290)
	at org.apache.cassandra.db.Table.open(Table.java:107)
	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)

===================================================

LocationInfo has this in the file: ^@^@^@^AL^@^@^@^AL
And reports this error:

 WARN 00:04:37,179 error reading saved cache /var/lib/cassandra/saved_caches/system-LocationInfo-KeyCache
java.io.StreamCorruptedException: invalid stream header: 00000001
	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:800)
	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:297)
	at org.apache.cassandra.db.ColumnFamilyStore.readSavedCache(ColumnFamilyStore.java:255)
	at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:198)
	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:451)
	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:432)
	at org.apache.cassandra.db.Table.initCf(Table.java:360)
	at org.apache.cassandra.db.Table.<init>(Table.java:290)
	at org.apache.cassandra.db.Table.open(Table.java:107)
	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)


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message