[ https://issues.apache.org/jira/browse/CASSANDRA-11315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15208973#comment-15208973 ]
Christian Spriegel commented on CASSANDRA-11315: ------------------------------------------------ [~iamaleksey]: The Auth_0 keyspace was bascially created by CLI. It is one of the keyspaces created by our automated testsuite (it seems someone connected his IDE to the D system, so the schema was created there). One thing that is special: After creation, the tests modify the keyspace via the thrift API: {code} // update gc grace seconds to 0 final Cluster cluster = keyspace.getCluster(); final String keyspaceName = keyspace.getKeyspace().getKeyspaceName(); final KeyspaceDefinition keyspaceDefinition = cluster.describeKeyspace(keyspaceName); final List<ColumnFamilyDefinition> cfDefs = keyspaceDefinition.getCfDefs(); for (final ColumnFamilyDefinition cfDef : cfDefs) { cfDef.setGcGraceSeconds(0); cfDef.setMemtableFlushAfterMins(Integer.MAX_VALUE); cfDef.setReadRepairChance(0.0); cfDef.setKeyCacheSavePeriodInSeconds(Integer.MAX_VALUE); cluster.updateColumnFamily(cfDef); } {code} > Upgrade from 2.2.5 to 3.0.3 Fails with AssertionError > ----------------------------------------------------- > > Key: CASSANDRA-11315 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11315 > Project: Cassandra > Issue Type: Bug > Environment: Ubuntu 14.04, Oracle Java 8, Apache Cassandra 2.2.5 -> > 3.0.3 > Reporter: Dominik Keil > Assignee: Aleksey Yeschenko > Priority: Blocker > Fix For: 3.0.x, 3.x > > > Hi, > when trying to upgrade our development cluster from C* 2.2.5 to 3.0.3 > Cassandra fails during startup. > Here's the relevant log snippet: > {noformat} > [...] > INFO [main] 2016-03-08 11:42:01,291 ColumnFamilyStore.java:381 - > Initializing system.schema_triggers > INFO [main] 2016-03-08 11:42:01,302 ColumnFamilyStore.java:381 - > Initializing system.schema_usertypes > INFO [main] 2016-03-08 11:42:01,313 ColumnFamilyStore.java:381 - > Initializing system.schema_functions > INFO [main] 2016-03-08 11:42:01,324 ColumnFamilyStore.java:381 - > Initializing system.schema_aggregates > INFO [main] 2016-03-08 11:42:01,576 SystemKeyspace.java:1284 - Detected > version upgrade from 2.2.5 to 3.0.3, snapshotting system keyspace > WARN [main] 2016-03-08 11:42:01,911 CompressionParams.java:382 - The > sstable_compression option has been deprecated. You should use class instead > WARN [main] 2016-03-08 11:42:01,959 CompressionParams.java:333 - The > chunk_length_kb option has been deprecated. You should use chunk_length_in_kb > instead > ERROR [main] 2016-03-08 11:42:02,638 CassandraDaemon.java:692 - Exception > encountered during startup > java.lang.AssertionError: null > at > org.apache.cassandra.db.CompactTables.getCompactValueColumn(CompactTables.java:90) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.config.CFMetaData.rebuild(CFMetaData.java:315) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at org.apache.cassandra.config.CFMetaData.<init>(CFMetaData.java:291) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at org.apache.cassandra.config.CFMetaData.create(CFMetaData.java:367) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.schema.LegacySchemaMigrator.decodeTableMetadata(LegacySchemaMigrator.java:337) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.schema.LegacySchemaMigrator.readTableMetadata(LegacySchemaMigrator.java:273) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.schema.LegacySchemaMigrator.readTable(LegacySchemaMigrator.java:244) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.schema.LegacySchemaMigrator.lambda$readTables$227(LegacySchemaMigrator.java:237) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at java.util.ArrayList.forEach(ArrayList.java:1249) ~[na:1.8.0_74] > at > org.apache.cassandra.schema.LegacySchemaMigrator.readTables(LegacySchemaMigrator.java:237) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.schema.LegacySchemaMigrator.readKeyspace(LegacySchemaMigrator.java:186) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.schema.LegacySchemaMigrator.lambda$readSchema$224(LegacySchemaMigrator.java:177) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at java.util.ArrayList.forEach(ArrayList.java:1249) ~[na:1.8.0_74] > at > org.apache.cassandra.schema.LegacySchemaMigrator.readSchema(LegacySchemaMigrator.java:177) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.schema.LegacySchemaMigrator.migrate(LegacySchemaMigrator.java:77) > ~[apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:223) > [apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:551) > [apache-cassandra-3.0.3.jar:3.0.3] > at > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:679) > [apache-cassandra-3.0.3.jar:3.0.3] > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)