incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vara Kumar <varaku...@gmail.com>
Subject OPP seems completely unsupported in Cassandra 1.2.5
Date Mon, 22 Jul 2013 14:10:24 GMT
We were using 0.7.6 version. And upgraded to 1.2.5 today. We were using OPP
(OrderPreservingPartitioner).

OPP throws error when any node join the cluster. Cluster can not be brought
up due to this error. After digging little deep, We realized that "peers"
column family is defined with key as type "inet". Looks like many other
column families in system keyspace has same issue.

- I know that OPP is deprecated. Is it that OPP completely unsupported? Is
it stated in upgrade instructions or some where? Did we miss it?
- I could not find any related discussion or jira records about similar
issue.


Exception trace:
java.lang.RuntimeException: The provided key was not UTF8 encoded.
at
org.apache.cassandra.dht.OrderPreservingPartitioner.getToken(OrderPreservingPartitioner.java:172)
at
org.apache.cassandra.dht.OrderPreservingPartitioner.decorateKey(OrderPreservingPartitioner.java:44)
at org.apache.cassandra.db.Table.apply(Table.java:379)
at org.apache.cassandra.db.Table.apply(Table.java:353)
at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:258)
at
org.apache.cassandra.cql3.statements.ModificationStatement.executeInternal(ModificationStatement.java:117)
at
org.apache.cassandra.cql3.QueryProcessor.processInternal(QueryProcessor.java:172)
at org.apache.cassandra.db.SystemTable.updatePeerInfo(SystemTable.java:258)
at
org.apache.cassandra.service.StorageService.onChange(StorageService.java:1231)
at
org.apache.cassandra.service.StorageService.onJoin(StorageService.java:1948)
at
org.apache.cassandra.gms.Gossiper.handleMajorStateChange(Gossiper.java:823)
at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:901)
at
org.apache.cassandra.gms.GossipDigestAck2VerbHandler.doVerb(GossipDigestAck2VerbHandler.java:50)
at
org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
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.ByteBufferUtil.string(ByteBufferUtil.java:167)
at org.apache.cassandra.utils.ByteBufferUtil.string(ByteBufferUtil.java:124)
at
org.apache.cassandra.dht.OrderPreservingPartitioner.getToken(OrderPreservingPartitioner.java:168)

Mime
View raw message