You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by "B. Todd Burruss" <bb...@real.com> on 2011/02/15 20:10:11 UTC

Another EOFException

the following exception seems to be about loading saved caches, but i 
don't really care about the cache so maybe isn't a big deal.  anyway, 
this is with patched 0.7.1 
(0001-Fix-bad-signed-conversion-from-byte-to-int.patch)


WARN 11:07:59,800 error reading saved cache 
/data/cassandra-data/saved_caches/UDS4Profile-Profiles_40229-KeyCache
java.io.EOFException
     at 
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
     at 
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
     at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
     at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
     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.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:162)
     at 
org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
     at 
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)


Re: Another EOFException

Posted by Jonathan Ellis <jb...@gmail.com>.
Is this reproducible or just "I happened to kill the server while it
was in the middle of writing out the c

On Tue, Feb 15, 2011 at 1:10 PM, B. Todd Burruss <bb...@real.com> wrote:
> the following exception seems to be about loading saved caches, but i don't
> really care about the cache so maybe isn't a big deal.  anyway, this is with
> patched 0.7.1 (0001-Fix-bad-signed-conversion-from-byte-to-int.patch)
>
>
> WARN 11:07:59,800 error reading saved cache
> /data/cassandra-data/saved_caches/UDS4Profile-Profiles_40229-KeyCache
> java.io.EOFException
>    at
> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
>    at
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
>    at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
>    at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
>    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.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:162)
>    at
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
>    at
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Re: Another EOFException

Posted by Dan Washusen <da...@reactive.org>.
I'm seeing this as well; several column families with keys_cached = 0 on 0.7.1.

Debug level logs: http://pastebin.com/qvujKDth

-- 
Dan Washusen
On Wednesday, 16 February 2011 at 1:12 PM, Jonathan Ellis wrote: 
> Created https://issues.apache.org/jira/browse/CASSANDRA-2172.
> 
> On Tue, Feb 15, 2011 at 3:34 PM, B. Todd Burruss <bb...@real.com> wrote:
> > it happens when i start the node. just tried it again. here's the
> > saved_caches directory:
> > 
> > 
> > [cassandra@kv-app02 ~]$ ls -l /data/cassandra-data/saved_caches/
> > total 12
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > NotificationSystem-Events-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > NotificationSystem-Msgs-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > NotificationSystem-Rendered-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > NotificationSystem-ScheduledMsgs-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > NotificationSystem-ScheduledTimes-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > NotificationSystem-SystemState-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > NotificationSystem-Templates-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > NotificationSystem-Transports-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > Queues-EmailTransport_Pending-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > Queues-EmailTransport_Waiting-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > Queues-Errors_Pending-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > Queues-Errors_Waiting-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > Queues-MessageDescriptors-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > Queues-PipeDescriptors-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > Queues-Processing_Pending-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > Queues-Processing_Waiting-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > Queues-QueueDescriptors-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36
> > Queues-QueuePipeCnxn-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 10:36 Queues-QueueStats-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 38 Feb 15 09:36
> > system-HintsColumnFamily-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 09:36 system-IndexInfo-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 5 Feb 15 09:36
> > system-LocationInfo-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 09:36 system-Migrations-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 18 Feb 15 09:36 system-Schema-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 09:36
> > UDS4Profile-ProfileDefinitions-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 09:36
> > UDS4Profile-ProfileNamespaces-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 09:36
> > UDS4Profile-Profiles_40229-KeyCache
> > -rw-rw-r-- 1 cassandra cassandra 0 Feb 15 09:36
> > UDS4Profile-Profiles_RN_test-KeyCache
> > 
> > 
> > 
> > On 02/15/2011 01:01 PM, Jonathan Ellis wrote:
> > > 
> > > Is this reproducible or just "I happened to kill the server while it
> > > was in the middle of writing out the cache keys?"
> > > 
> > > On Tue, Feb 15, 2011 at 1:10 PM, B. Todd Burruss<bb...@real.com>
> > > wrote:
> > > > 
> > > > the following exception seems to be about loading saved caches, but i
> > > > don't
> > > > really care about the cache so maybe isn't a big deal. anyway, this is
> > > > with
> > > > patched 0.7.1 (0001-Fix-bad-signed-conversion-from-byte-to-int.patch)
> > > > 
> > > > 
> > > > WARN 11:07:59,800 error reading saved cache
> > > > /data/cassandra-data/saved_caches/UDS4Profile-Profiles_40229-KeyCache
> > > > java.io.EOFException
> > > > at
> > > > 
> > > > java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
> > > > at
> > > > 
> > > > java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
> > > > at
> > > > java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
> > > > at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
> > > > 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.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:162)
> > > > at
> > > > 
> > > > org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
> > > > at
> > > > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)
> 
> 
> 
> -- 
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
> 

Re: Another EOFException

Posted by Jonathan Ellis <jb...@gmail.com>.
Created https://issues.apache.org/jira/browse/CASSANDRA-2172.

On Tue, Feb 15, 2011 at 3:34 PM, B. Todd Burruss <bb...@real.com> wrote:
> it happens when i start the node.  just tried it again.  here's the
> saved_caches directory:
>
>
> [cassandra@kv-app02 ~]$ ls -l /data/cassandra-data/saved_caches/
> total 12
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> NotificationSystem-Events-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> NotificationSystem-Msgs-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> NotificationSystem-Rendered-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> NotificationSystem-ScheduledMsgs-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> NotificationSystem-ScheduledTimes-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> NotificationSystem-SystemState-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> NotificationSystem-Templates-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> NotificationSystem-Transports-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> Queues-EmailTransport_Pending-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> Queues-EmailTransport_Waiting-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> Queues-Errors_Pending-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> Queues-Errors_Waiting-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> Queues-MessageDescriptors-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> Queues-PipeDescriptors-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> Queues-Processing_Pending-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> Queues-Processing_Waiting-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> Queues-QueueDescriptors-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36
> Queues-QueuePipeCnxn-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 Queues-QueueStats-KeyCache
> -rw-rw-r-- 1 cassandra cassandra 38 Feb 15 09:36
> system-HintsColumnFamily-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36 system-IndexInfo-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  5 Feb 15 09:36
> system-LocationInfo-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36 system-Migrations-KeyCache
> -rw-rw-r-- 1 cassandra cassandra 18 Feb 15 09:36 system-Schema-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36
> UDS4Profile-ProfileDefinitions-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36
> UDS4Profile-ProfileNamespaces-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36
> UDS4Profile-Profiles_40229-KeyCache
> -rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36
> UDS4Profile-Profiles_RN_test-KeyCache
>
>
>
> On 02/15/2011 01:01 PM, Jonathan Ellis wrote:
>>
>> Is this reproducible or just "I happened to kill the server while it
>> was in the middle of writing out the cache keys?"
>>
>> On Tue, Feb 15, 2011 at 1:10 PM, B. Todd Burruss<bb...@real.com>
>>  wrote:
>>>
>>> the following exception seems to be about loading saved caches, but i
>>> don't
>>> really care about the cache so maybe isn't a big deal.  anyway, this is
>>> with
>>> patched 0.7.1 (0001-Fix-bad-signed-conversion-from-byte-to-int.patch)
>>>
>>>
>>> WARN 11:07:59,800 error reading saved cache
>>> /data/cassandra-data/saved_caches/UDS4Profile-Profiles_40229-KeyCache
>>> java.io.EOFException
>>>    at
>>>
>>> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
>>>    at
>>>
>>> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
>>>    at
>>> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
>>>    at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
>>>    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.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:162)
>>>    at
>>>
>>> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
>>>    at
>>> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)
>>>
>>>
>>
>>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Re: Another EOFException

Posted by "B. Todd Burruss" <bb...@real.com>.
it happens when i start the node.  just tried it again.  here's the 
saved_caches directory:


[cassandra@kv-app02 ~]$ ls -l /data/cassandra-data/saved_caches/
total 12
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
NotificationSystem-Events-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
NotificationSystem-Msgs-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
NotificationSystem-Rendered-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
NotificationSystem-ScheduledMsgs-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
NotificationSystem-ScheduledTimes-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
NotificationSystem-SystemState-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
NotificationSystem-Templates-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
NotificationSystem-Transports-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
Queues-EmailTransport_Pending-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
Queues-EmailTransport_Waiting-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
Queues-Errors_Pending-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
Queues-Errors_Waiting-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
Queues-MessageDescriptors-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
Queues-PipeDescriptors-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
Queues-Processing_Pending-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
Queues-Processing_Waiting-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
Queues-QueueDescriptors-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 
Queues-QueuePipeCnxn-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 10:36 Queues-QueueStats-KeyCache
-rw-rw-r-- 1 cassandra cassandra 38 Feb 15 09:36 
system-HintsColumnFamily-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36 system-IndexInfo-KeyCache
-rw-rw-r-- 1 cassandra cassandra  5 Feb 15 09:36 
system-LocationInfo-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36 system-Migrations-KeyCache
-rw-rw-r-- 1 cassandra cassandra 18 Feb 15 09:36 system-Schema-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36 
UDS4Profile-ProfileDefinitions-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36 
UDS4Profile-ProfileNamespaces-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36 
UDS4Profile-Profiles_40229-KeyCache
-rw-rw-r-- 1 cassandra cassandra  0 Feb 15 09:36 
UDS4Profile-Profiles_RN_test-KeyCache



On 02/15/2011 01:01 PM, Jonathan Ellis wrote:
> Is this reproducible or just "I happened to kill the server while it
> was in the middle of writing out the cache keys?"
>
> On Tue, Feb 15, 2011 at 1:10 PM, B. Todd Burruss<bb...@real.com>  wrote:
>> the following exception seems to be about loading saved caches, but i don't
>> really care about the cache so maybe isn't a big deal.  anyway, this is with
>> patched 0.7.1 (0001-Fix-bad-signed-conversion-from-byte-to-int.patch)
>>
>>
>> WARN 11:07:59,800 error reading saved cache
>> /data/cassandra-data/saved_caches/UDS4Profile-Profiles_40229-KeyCache
>> java.io.EOFException
>>     at
>> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
>>     at
>> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
>>     at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
>>     at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
>>     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.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:162)
>>     at
>> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
>>     at
>> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)
>>
>>
>
>

Re: Another EOFException

Posted by Jonathan Ellis <jb...@gmail.com>.
Is this reproducible or just "I happened to kill the server while it
was in the middle of writing out the cache keys?"

On Tue, Feb 15, 2011 at 1:10 PM, B. Todd Burruss <bb...@real.com> wrote:
> the following exception seems to be about loading saved caches, but i don't
> really care about the cache so maybe isn't a big deal.  anyway, this is with
> patched 0.7.1 (0001-Fix-bad-signed-conversion-from-byte-to-int.patch)
>
>
> WARN 11:07:59,800 error reading saved cache
> /data/cassandra-data/saved_caches/UDS4Profile-Profiles_40229-KeyCache
> java.io.EOFException
>    at
> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
>    at
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
>    at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
>    at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
>    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.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:162)
>    at
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:316)
>    at
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79)
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com