Hi all:

I use Cassandra 0.7 beta, and I create two Cassandra nodes in a cluster.
When second node try to join the cluster,
I got the error message as below.
Can someone advise me how to solve this problem.

Thanks for your kindly assistance.

regards,

Stanley Huang

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

 INFO 10:45:34,718 Node /192.168.2.3 is now part of the cluster
 INFO 10:45:35,693 InetAddress /192.168.2.3 is now UP
 INFO 10:45:35,693 Started hinted handoff for endpoint /192.168.2.3
ERROR 10:45:35,694 Uncaught exception in thread
Thread[HINTED-HANDOFF-POOL:1,5,main]
java.util.concurrent.ExecutionException: java.lang.RuntimeException:
java.lang.RuntimeException: The provided key was not UTF8 encoded.
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    at
org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:87)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: The
provided key was not UTF8 encoded.
    at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    ... 2 more
Caused by: java.lang.RuntimeException: The provided key was not UTF8
encoded.
    at
org.apache.cassandra.dht.CollatingOrderPreservingPartitioner.getToken(CollatingOrderPreservingPartitioner.java:51)
    at
org.apache.cassandra.dht.AbstractByteOrderedPartitioner.decorateKey(AbstractByteOrderedPartitioner.java:42)
    at
org.apache.cassandra.db.HintedHandOffManager.deliverHintsToEndpoint(HintedHandOffManager.java:199)
    at
org.apache.cassandra.db.HintedHandOffManager.access$000(HintedHandOffManager.java:78)
    at
org.apache.cassandra.db.HintedHandOffManager$1.runMayThrow(HintedHandOffManager.java:296)
    at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
    ... 6 more
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:483)
    at
org.apache.cassandra.dht.CollatingOrderPreservingPartitioner.getToken(CollatingOrderPreservingPartitioner.java:47)
    ... 11 more

Reply via email to