cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Barbugli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8106) Schema changes raises "comparators do not match or are not compatible" ConfigurationException
Date Sun, 12 Oct 2014 22:42:33 GMT
Tommaso Barbugli created CASSANDRA-8106:
-------------------------------------------

             Summary: Schema changes raises "comparators do not match or are not compatible"
ConfigurationException
                 Key: CASSANDRA-8106
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8106
             Project: Cassandra
          Issue Type: Bug
            Reporter: Tommaso Barbugli


I am running Cassandra 2.0.10 on 2 nodes; since the last few hours every schema migration
issued via CQL (both CREATE and ALTER tables) raises a ConfigurationException "comparators
do not match or are not compatible" exception.

{code}
ERROR [Native-Transport-Requests:5802] 2014-10-12 22:48:12,237 QueryMessage.java (line 131)
Unexpected error during query
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException:
org.apache.cassandra.exceptions.ConfigurationException: comparators do not match or are not
compatible.
	at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:413)
	at org.apache.cassandra.service.MigrationManager.announce(MigrationManager.java:285)
	at org.apache.cassandra.service.MigrationManager.announceNewColumnFamily(MigrationManager.java:223)
	at org.apache.cassandra.cql3.statements.CreateTableStatement.announceMigration(CreateTableStatement.java:121)
	at org.apache.cassandra.cql3.statements.SchemaAlteringStatement.execute(SchemaAlteringStatement.java:79)
	at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:158)
	at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:175)
	at org.apache.cassandra.transport.messages.QueryMessage.execute(QueryMessage.java:119)
	at org.apache.cassandra.transport.Message$Dispatcher.messageReceived(Message.java:306)
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
	at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
	at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.cassandra.exceptions.ConfigurationException:
comparators do not match or are not compatible.
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:188)
	at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:409)
	... 16 more
Caused by: java.lang.RuntimeException: org.apache.cassandra.exceptions.ConfigurationException:
comparators do not match or are not compatible.
	at org.apache.cassandra.config.CFMetaData.reload(CFMetaData.java:1052)
	at org.apache.cassandra.db.DefsTables.updateColumnFamily(DefsTables.java:377)
	at org.apache.cassandra.db.DefsTables.mergeColumnFamilies(DefsTables.java:318)
	at org.apache.cassandra.db.DefsTables.mergeSchema(DefsTables.java:183)
	at org.apache.cassandra.service.MigrationManager$2.runMayThrow(MigrationManager.java:303)
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	... 3 more
Caused by: org.apache.cassandra.exceptions.ConfigurationException: comparators do not match
or are not compatible.
	at org.apache.cassandra.config.CFMetaData.validateCompatility(CFMetaData.java:1142)
	at org.apache.cassandra.config.CFMetaData.apply(CFMetaData.java:1067)
	at org.apache.cassandra.config.CFMetaData.reload(CFMetaData.java:1048)
	... 10 more
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message