cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vara Kumar (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-5793) OPP seems completely unsupported
Date Tue, 23 Jul 2013 09:42:52 GMT
Vara Kumar created CASSANDRA-5793:

             Summary: OPP seems completely unsupported
                 Key: CASSANDRA-5793
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.5
         Environment: Cassandra on Ubuntu
            Reporter: Vara Kumar
             Fix For: 1.2.7

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.

Exception trace:
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.RowMutation.apply(
	at org.apache.cassandra.cql3.statements.ModificationStatement.executeInternal(
	at org.apache.cassandra.cql3.QueryProcessor.processInternal(
	at org.apache.cassandra.db.SystemTable.updatePeerInfo(
	at org.apache.cassandra.service.StorageService.onChange(
	at org.apache.cassandra.service.StorageService.onJoin(
	at org.apache.cassandra.gms.Gossiper.handleMajorStateChange(
	at org.apache.cassandra.gms.Gossiper.applyStateLocally(
	at org.apache.cassandra.gms.GossipDigestAck2VerbHandler.doVerb(

- Changing partitioner to BOP (or something else) fails while loading schema_keyspaces. So,
it does not look like an option.
- One possibility is that getToken of OPP can return hex value if it fails to encode bytes
to UTF-8 instead of throwing error. By this system tables seem to be working fine with OPP.
- Or Completely remove OPP from code base & configuration files. Mark clearly that OPP
is no longer supported in upgrade instructions.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message