Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness - Test Failure
-
Normal
-
Normal
-
Unit Test
-
All
-
None
-
Description
java.lang.RuntimeException: Error setting schema for test (query was: alter table cql_test_keyspace.table_01 with compaction = {'class': 'SizeTieredCompactionStrategy', 'enabled': false}) at org.apache.cassandra.cql3.CQLTester.schemaChange(CQLTester.java:1222) at org.apache.cassandra.cql3.CQLTester.alterTable(CQLTester.java:1009) at org.apache.cassandra.db.compaction.CompactionStrategyManagerBoundaryReloadTest.testReload(CompactionStrategyManagerBoundaryReloadTest.java:82) Caused by: java.lang.ClassCastException: org.apache.cassandra.dht.ByteOrderedPartitioner$BytesToken cannot be cast to org.apache.cassandra.dht.Murmur3Partitioner$LongToken at org.apache.cassandra.dht.Murmur3Partitioner$1.valueForToken(Murmur3Partitioner.java:68) at org.apache.cassandra.dht.Splitter$WeightedRange.totalTokens(Splitter.java:278) at org.apache.cassandra.dht.Splitter.splitOwnedRanges(Splitter.java:129) at org.apache.cassandra.db.ColumnFamilyStore.localRangeSplits(ColumnFamilyStore.java:1504) at org.apache.cassandra.db.memtable.AbstractShardedMemtable.<init>(AbstractShardedMemtable.java:65) at org.apache.cassandra.db.memtable.TrieMemtable.<init>(TrieMemtable.java:142) at org.apache.cassandra.db.memtable.TrieMemtable$Factory.create(TrieMemtable.java:688) at org.apache.cassandra.db.ColumnFamilyStore.createMemtable(ColumnFamilyStore.java:1375) at org.apache.cassandra.db.ColumnFamilyStore$Flush.<init>(ColumnFamilyStore.java:1173) at org.apache.cassandra.db.ColumnFamilyStore$Flush.<init>(ColumnFamilyStore.java:1137) at org.apache.cassandra.db.ColumnFamilyStore.switchMemtable(ColumnFamilyStore.java:1000) at org.apache.cassandra.db.ColumnFamilyStore.switchMemtableIfCurrent(ColumnFamilyStore.java:981) at org.apache.cassandra.db.ColumnFamilyStore.switchMemtableOrNotify(ColumnFamilyStore.java:966) at org.apache.cassandra.db.ColumnFamilyStore.reload(ColumnFamilyStore.java:393)
First reported to slack: https://the-asf.slack.com/archives/CK23JSY2K/p1673382016638189