I was using svn cassandra from about a week ago, and it worked for me; but
then I updated to today's and got the below error after rebuild.
Help, please: Should I apply some known config file change, or just revert,
or ?
The version failing is
https://svn.apache.org/repos/asf/cassandra/tr...@989392
PS: I'm working on Perl client code, so this really is a dev@ question. :-)
+ exec /usr/bin/java -ea -XX:+UseThreadPriorities
-XX:ThreadPriorityPolicy=42 -Xms2G -Xmx2G -XX:+HeapDumpOnOutOfMemoryError
-Xss128k -XX:+UseParNewGC -XX:+UseConcMarkSweepGC
-XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1
-XX:CMSInitiatingOccupancyFraction=80
-Dcom.sun.management.jmxremote.port=8089
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dlog4j.configuration=log4j-server.properties -Dcassandra-foreground=yes -cp
/home/chip/cassandra/conf:bin/../build/classes:bin/../lib/antlr-3.1.3.jar:bin/../lib/avro-1.4.0-sources~r986959.jar:bin/../lib/avro-1.4.0~r986959.jar:bin/../lib/clhm-production.jar:bin/../lib/commons-cli-1.1.jar:bin/../lib/commons-codec-1.2.jar:bin/../lib/commons-collections-3.2.1.jar:bin/../lib/commons-lang-2.4.jar:bin/../lib/guava-r05.jar:bin/../lib/hadoop-core-0.20.1.jar:bin/../lib/high-scale-lib.jar:bin/../lib/jackson-core-asl-1.4.0.jar:bin/../lib/jackson-mapper-asl-1.4.0.jar:bin/../lib/jetty-6.1.21.jar:bin/../lib/jetty-util-6.1.21.jar:bin/../lib/jline-0.9.94.jar:bin/../lib/json-simple-1.1.jar:bin/../lib/jug-2.0.0.jar:bin/../lib/libthrift-r959516.jar:bin/../lib/log4j-1.2.16.jar:bin/../lib/servlet-api-2.5-20081211.jar:bin/../lib/slf4j-api-1.5.8.jar:bin/../lib/slf4j-log4j12-1.5.8.jar:bin/../lib/snakeyaml-1.6.jar
org.apache.cassandra.thrift.CassandraDaemon
INFO 18:35:49,194 JNA not found. Native methods will be disabled.
INFO 18:35:49,299 DiskAccessMode 'auto' determined to be mmap,
indexAccessMode is mmap
INFO 18:35:49,403 Sampling index for
/var/lib/cassandra/precious_roy/data/system/Statistics-e-1-<>
INFO 18:35:49,417 Sampling index for
/var/lib/cassandra/precious_roy/data/system/Statistics-e-2-<>
INFO 18:35:49,432 Sampling index for
/var/lib/cassandra/precious_roy/data/system/Schema-e-5-<>
INFO 18:35:49,437 Sampling index for
/var/lib/cassandra/precious_roy/data/system/Migrations-e-5-<>
INFO 18:35:49,441 Sampling index for
/var/lib/cassandra/precious_roy/data/system/LocationInfo-e-1-<>
INFO 18:35:49,442 Sampling index for
/var/lib/cassandra/precious_roy/data/system/LocationInfo-e-2-<>
INFO 18:35:49,470 Loading schema version
29946d4a-afec-11df-ba37-e700f669bcfc
ERROR 18:35:49,636 Exception encountered during startup.
org.apache.avro.AvroTypeException: Found
{"type":"record","name":"CfDef","namespace":"org.apache.cassandra.config.avro","fields":[{"name":"keyspace","type":"string"},{"name":"name","type":"string"},{"name":"column_type","type":["string","null"]},{"name":"clock_type","type":["string","null"]},{"name":"comparator_type","type":["string","null"]},{"name":"subcomparator_type","type":["string","null"]},{"name":"reconciler","type":["string","null"]},{"name":"comment","type":["string","null"]},{"name":"row_cache_size","type":["double","null"]},{"name":"preload_row_cache","type":["boolean","null"]},{"name":"key_cache_size","type":["double","null"]},{"name":"read_repair_chance","type":["double","null"]},{"name":"gc_grace_seconds","type":["int","null"]},{"name":"column_metadata","type":[{"type":"array","items":{"type":"record","name":"ColumnDef","fields":[{"name":"name","type":"bytes"},{"name":"validation_class","type":"string"},{"name":"index_type","type":[{"type":"enum","name":"IndexType","symbols":["KEYS"]},"null"]},{"name":"index_name","type":["string","null"]}]}},"null"]},{"name":"id","type":["int","null"]}]},
expecting
{"type":"record","name":"CfDef","namespace":"org.apache.cassandra.config.avro","fields":[{"name":"keyspace","type":"string"},{"name":"name","type":"string"},{"name":"column_type","type":["string","null"]},{"name":"clock_type","type":["string","null"]},{"name":"comparator_type","type":["string","null"]},{"name":"subcomparator_type","type":["string","null"]},{"name":"reconciler","type":["string","null"]},{"name":"comment","type":["string","null"]},{"name":"row_cache_size","type":["double","null"]},{"name":"preload_row_cache","type":["boolean","null"]},{"name":"key_cache_size","type":["double","null"]},{"name":"read_repair_chance","type":["double","null"]},{"name":"gc_grace_seconds","type":["int","null"]},{"name":"default_validation_class","type":["string","null"]},{"name":"id","type":["int","null"]},{"name":"column_metadata","type":[{"type":"array","items":{"type":"record","name":"ColumnDef","fields":[{"name":"name","type":"bytes"},{"name":"validation_class","type":"string"},{"name":"index_type","type":[{"type":"enum","name":"IndexType","symbols":["KEYS"]},"null"]},{"name":"index_name","type":["string","null"]}]}},"null"]}]}
at
org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:212)
at org.apache.avro.io.parsing.Parser.advance(Parser.java:88)
at
org.apache.avro.io.ResolvingDecoder.readFieldOrder(ResolvingDecoder.java:121)
at
org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:130)
at
org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:106)
at
org.apache.avro.generic.GenericDatumReader.readArray(GenericDatumReader.java:184)
at
org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:108)
at
org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:134)
at
org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:106)
at
org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:97)
at org.apache.cassandra.io.SerDeUtils.deserialize(SerDeUtils.java:61)
at
org.apache.cassandra.db.DefsTable.loadFromStorage(DefsTable.java:109)
at
org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:443)
at
org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:106)
at
org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:90)
at
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:229)