cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thibaut (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2076) Not restarting due to Invalid saved cache
Date Fri, 04 Feb 2011 17:42:31 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990643#comment-12990643
] 

Thibaut commented on CASSANDRA-2076:
------------------------------------

I can't say for sure. I guess so.

Can you trigger a hudson build with the most recent fixes as well. (Don't know for sure which
revision to take) So I can let it run over the weekend and check if the exception occurs again
or not.




> Not restarting due to Invalid saved cache
> -----------------------------------------
>
>                 Key: CASSANDRA-2076
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2076
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0
>         Environment: linux
>            Reporter: Thibaut
>            Assignee: Matthew F. Dennis
>            Priority: Critical
>             Fix For: 0.7.1, 0.7.2
>
>         Attachments: 2076-cassandra-0.7.txt
>
>
> This occured on two nodes on me (running 0.7.1 from svn)
> One node was killed by the kernel due to a OOM and the other node was haning and I had
to kill it manually with kill -9 (kill didn't work). (maybe these were faulty hardware nodes,
I don't know)
> The saved_cache was corrupt afterwards and I couldn't start the nodes. 
> After deleting the saved_caches directory I could start the nodes again. 
> Instead of not starting when an error occurs, cassandra could simply delete the errornous
file and continue to start?
>  INFO 22:31:11,570 reading saved cache
> /hd1/cassandra_md5/saved_caches/table_attributes-table_attributes-KeyCache
> ERROR 22:31:11,595 Exception encountered during startup.
> java.lang.RuntimeException: The provided key was not UTF8 encoded.
>        at org.apache.cassandra.dht.OrderPreservingPartitioner.getToken(OrderPreservingPartitioner.java:159)
>        at org.apache.cassandra.dht.OrderPreservingPartitioner.decorateKey(OrderPreservingPartitioner.java:44)
>        at org.apache.cassandra.db.ColumnFamilyStore.readSavedCache(ColumnFamilyStore.java:281)
>        at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:218)
>        at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:458)
>        at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:440)
>        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:167)
>        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:312)
>        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:81)
> Caused by: java.nio.charset.MalformedInputException: Input length = 1
>        at java.nio.charset.CoderResult.throwException(CoderResult.java:260)
>        at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:781)
>        at org.apache.cassandra.utils.FBUtilities.decodeToUTF8(FBUtilities.java:403)
>        at org.apache.cassandra.dht.OrderPreservingPartitioner.getToken(OrderPreservingPartitioner.java:155)
>        ... 11 more
> Exception encountered during startup.
> java.lang.RuntimeException: The provided key was not UTF8 encoded.
>        at org.apache.cassandra.dht.OrderPreservingPartitioner.getToken(OrderPreservingPartitioner.java:159)
>        at org.apache.cassandra.dht.OrderPreservingPartitioner.decorateKey(OrderPreservingPartitioner.java:44)
>        at org.apache.cassandra.db.ColumnFamilyStore.readSavedCache(ColumnFamilyStore.java:281)
>        at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:218)
>        at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:458)
>        at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:440)
>        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:167)
>        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:312)
>        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:81)
> Caused by: java.nio.charset.MalformedInputException: Input length = 1
>        at java.nio.charset.CoderResult.throwException(CoderResult.java:260)
>        at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:781)
>        at org.apache.cassandra.utils.FBUtilities.decodeToUTF8(FBUtilities.java:403)
>        at org.apache.cassandra.dht.OrderPreservingPartitioner.getToken(OrderPreservingPartitioner.java:155)
>        ... 11 more

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

        

Mime
View raw message