cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <>
Subject Re: Cassandra 1.2.0H startup exception
Date Tue, 19 Mar 2013 08:21:37 GMT
There is a write in the commit log that has an invalid row key. The logs will say which file
it was replaying, try removing that and restarting it. 

What client were you using to write to the cluster? 
What are you using for the keys ? 

Note: this could result in data loss on the one node because writes in the commit log may
not be committed to sstables. If you have been using QUOURM / QUOURM this should not be a

>     at org.apache.cassandra.dht.OrderPreservingPartitioner.getToken(
If you are just starting out I strongly encourage you to use the RandomPartitioner rather
than the OderPreservingPartitioner. 


Aaron Morton
Freelance Cassandra Consultant
New Zealand


On 19/03/2013, at 4:22 PM, 杨辉强 <> wrote:

> Hi, all:
>    I am a beginner of cassandra. I have a four node cassandra group.
>    One of my cassandra group node had been running for a week. Recently because of too
much writing and reading, it crashed.
> I want to restart the node.
>    While I start up cassandra, it ends up with throwing exception as follow every time:
>    java.lang.RuntimeException: The provided key was not UTF8 encoded.
>     at org.apache.cassandra.dht.OrderPreservingPartitioner.getToken(
>     at org.apache.cassandra.dht.OrderPreservingPartitioner.decorateKey(
>     at org.apache.cassandra.db.Table.apply(
>     at org.apache.cassandra.db.Table.apply(
>     at org.apache.cassandra.db.commitlog.CommitLogReplayer$1.runMayThrow(
>     at
>     at java.util.concurrent.Executors$
>     at java.util.concurrent.FutureTask$Sync.innerRun(
>     at
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>     at java.util.concurrent.ThreadPoolExecutor$
>     at
>   I have googled and read the archive. But I can't find answer, please help me. Thank
you very much.

View raw message