incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: ConfigurationException: Nonsensical empty parameter list for CompositeType
Date Thu, 20 Oct 2011 22:48:43 GMT
See http://www.mail-archive.com/user@cassandra.apache.org/msg18132.html

https://issues.apache.org/jira/browse/CASSANDRA-3391

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 21/10/2011, at 5:31 AM, Vitaly Vengrov wrote:

> Hi all.
> 
> I am using cassandra 1.0.0.
> I created a keyspace with all the column family definitions at runtime and it works fine
until I stop and then restart the cassandra server.
> During it's startup I see this error in the cassandra log :
> 
> ERROR 16:22:16,977 Exception encountered during startup
> java.lang.RuntimeException: Could not inflate CFMetaData for {"keyspace": "V360HC", "name":
"Val1H", "column_type": "Standard", "comparator_type": "org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.LongType)",
"subcomparator_type": null, "comment": "", "row_cache_size": 0.0, "key_cache_size": 200000.0,
"read_repair_chance": 1.0, "replicate_on_write": true, "gc_grace_seconds": 864000, "default_validation_class":
"org.apache.cassandra.db.marshal.BytesType", "key_validation_class": "org.apache.cassandra.db.marshal.CompositeType",
"min_compaction_threshold": 4, "max_compaction_threshold": 32, "row_cache_save_period_in_seconds":
0, "key_cache_save_period_in_seconds": 14400, "row_cache_keys_to_save": 2147483647, "merge_shards_chance":
0.1, "id": 1087, "column_metadata": [], "row_cache_provider": "org.apache.cassandra.cache.SerializingCacheProvider",
"key_alias": null, "compaction_strategy": "org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy",
"compaction_strategy_options": {}, "compression_options": {}}
> 	at org.apache.cassandra.config.CFMetaData.fromAvro(CFMetaData.java:350)
> 	at org.apache.cassandra.config.KSMetaData.fromAvro(KSMetaData.java:180)
> 	at org.apache.cassandra.db.DefsTable.loadFromStorage(DefsTable.java:99)
> 	at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:508)
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:161)
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
> 	at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)
> Caused by: org.apache.cassandra.config.ConfigurationException: Invalid definition for
comparator org.apache.cassandra.db.marshal.CompositeType.
> 	at org.apache.cassandra.db.marshal.TypeParser.getRawAbstractType(TypeParser.java:319)
> 	at org.apache.cassandra.db.marshal.TypeParser.getAbstractType(TypeParser.java:247)
> 	at org.apache.cassandra.db.marshal.TypeParser.parse(TypeParser.java:83)
> 	at org.apache.cassandra.db.marshal.TypeParser.parse(TypeParser.java:92)
> 	at org.apache.cassandra.config.CFMetaData.fromAvro(CFMetaData.java:346)
> 	... 6 more
> Caused by: org.apache.cassandra.config.ConfigurationException: Nonsensical empty parameter
list for CompositeType
> 	at org.apache.cassandra.db.marshal.CompositeType.getInstance(CompositeType.java:67)
> 	at org.apache.cassandra.db.marshal.CompositeType.getInstance(CompositeType.java:61)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.cassandra.db.marshal.TypeParser.getRawAbstractType(TypeParser.java:307)
> 	... 10 more
> 
> Please advise
> 
> Thanks
> 
> Vitaly


Mime
View raw message