cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (Created) (JIRA) <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3490) Error while creating many column families: "ConfigurationException: Previous version mismatch. cannot apply."
Date Mon, 14 Nov 2011 15:12:51 GMT
Error while creating many column families: "ConfigurationException: Previous version mismatch.
cannot apply."
-------------------------------------------------------------------------------------------------------------

                 Key: CASSANDRA-3490
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3490
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.0.2
            Reporter: Nicolas Lalevée


Maybe a duplicate/reopen of CASSANDRA-1384

I have a cluster of 4 cassandra nodes 1.0.2. Via the API (I'm using Hector), I create about
130 column families. On the client side I am hit with:
{noformat}
[junit-coverage] me.prettyprint.hector.api.exceptions.HCassandraInternalException: Cassandra
encountered an internal error processing this request: TApplicationError type: 6 message:Internal
error processing system_add_column_family
[junit-coverage] 	at me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:31)
~[hector-core-1.0-1.jar:na]
[junit-coverage] 	at me.prettyprint.cassandra.service.ThriftCluster$4.execute(ThriftCluster.java:100)
~[hector-core-1.0-1.jar:na]
[junit-coverage] 	at me.prettyprint.cassandra.service.ThriftCluster$4.execute(ThriftCluster.java:89)
~[hector-core-1.0-1.jar:na]
[junit-coverage] 	at me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:101)
~[hector-core-1.0-1.jar:na]
[junit-coverage] 	at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:233)
~[hector-core-1.0-1.jar:na]
[junit-coverage] 	at me.prettyprint.cassandra.service.ThriftCluster.addColumnFamily(ThriftCluster.java:104)
~[hector-core-1.0-1.jar:na]
[junit-coverage] 	......... [my application code] ..............
{noformat}

On the server side, I can see these line in many nodes:
{noformat}
ERROR 15:47:04,833 Internal error processing system_add_column_family
java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.apache.cassandra.config.ConfigurationException:
Previous version mismatch. cannot apply.
        at org.apache.cassandra.thrift.CassandraServer.applyMigrationOnStage(CassandraServer.java:898)
        at org.apache.cassandra.thrift.CassandraServer.system_add_column_family(CassandraServer.java:914)
        at org.apache.cassandra.thrift.Cassandra$Processor$system_add_column_family.process(Cassandra.java:3832)
        at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2889)
        at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187)
        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.util.concurrent.ExecutionException: org.apache.cassandra.config.ConfigurationException:
Previous version mismatch. cannot apply.
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
        at org.apache.cassandra.thrift.CassandraServer.applyMigrationOnStage(CassandraServer.java:890)
        ... 7 more
Caused by: org.apache.cassandra.config.ConfigurationException: Previous version mismatch.
cannot apply.
        at org.apache.cassandra.db.migration.Migration.apply(Migration.java:100)
        at org.apache.cassandra.thrift.CassandraServer$2.call(CassandraServer.java:883)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        ... 3 more
ERROR 15:47:04,834 Fatal exception in thread Thread[MigrationStage:1,5,main] org.apache.cassandra.config.ConfigurationException:
Previous version mismatch. cannot apply.
        at org.apache.cassandra.db.migration.Migration.apply(Migration.java:100)
        at org.apache.cassandra.thrift.CassandraServer$2.call(CassandraServer.java:883)
        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)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
{noformat}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message