incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject Schema Migration Failed
Date Thu, 30 Sep 2010 22:37:49 GMT
Upgrading from 0.7 nightly for 31/08 to beta 2. 

This one seems serious, schema migration is failing. I'm dead in the water here, so any quick
ideas appreciated. 

Have done an import schema on one node, and also tried system_add_keyspace on the same node.
It's showing the Keyspace1 and my keyspace. But am getting these errors on the other nodes...

ERROR [READ_STAGE:19] 2010-10-01 11:31:57,872 AbstractCassandraDaemon.java (line 88) Fatal
exception in thread Thread[READ_STAGE:19,5,main]
java.lang.ClassCastException: org.apache.avro.util.Utf8 cannot be cast to java.lang.Double
        at org.apache.cassandra.config.avro.CfDef.put(CfDef.java:60)
        at org.apache.avro.generic.GenericDatumReader.setField(GenericDatumReader.java:152)
        at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:142)
        at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:114)
        at org.apache.avro.generic.GenericDatumReader.readArray(GenericDatumReader.java:192)
        at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:116)
        at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:142)
        at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:114)
        at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:142)
        at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:114)
        at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:118)
        at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:142)
        at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:114)
        at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:105)
        at org.apache.cassandra.io.SerDeUtils.deserializeWithSchema(SerDeUtils.java:98)
        at org.apache.cassandra.db.migration.Migration.deserialize(Migration.java:262)
        at org.apache.cassandra.db.DefinitionsUpdateResponseVerbHandlerdoVerb(DefinitionsUpdateResponseVerbHandler.java:57)
        at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:50)
        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:619)

And they are not showing the keyspace in JMX. So things are way out of wack.

is it correct to see avro in the call stack ? 

Aaron


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message