cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Morton (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-2984) column_metadata used with LongType comparator causes migration to fail
Date Tue, 02 Aug 2011 09:58:27 GMT
column_metadata used with LongType comparator causes migration to fail 

                 Key: CASSANDRA-2984
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.8.2
            Reporter: Aaron Morton
            Priority: Minor


Running the create column family in the email works, but if the migration needs to be inflated
(on restart or schema propagation) it fails with:

ERROR 21:41:26,876 Exception encountered during startup.
org.apache.cassandra.db.marshal.MarshalException: A long is exactly 8 bytes: 5
	at org.apache.cassandra.db.marshal.LongType.getString(
	at org.apache.cassandra.config.CFMetaData.getDefaultIndexName(
	at org.apache.cassandra.config.CFMetaData.inflate(
	at org.apache.cassandra.config.KSMetaData.inflate(
	at org.apache.cassandra.db.DefsTable.loadFromStorage(
	at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(
	at org.apache.cassandra.service.AbstractCassandraDaemon.setup(
	at org.apache.cassandra.service.AbstractCassandraDaemon.activate(
	at org.apache.cassandra.thrift.CassandraDaemon.main(

CFMetaData.inflate() does not check if a index was defined like addDefaultIndexNames() does.

I this case the underlying problem is that the column meta data includes col names that are

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message