Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Normal
Description
The code for tracking sstable coldness is also executing when running sstableloader which causes problems.
Exception in thread "main" java.lang.RuntimeException: Error validating SELECT * FROM sstable_activity WHERE keyspace_name='test_backup_restore' and columnfamily_name='cf0' and generation=1 at org.apache.cassandra.cql3.QueryProcessor.processInternal(QueryProcessor.java:190) at org.apache.cassandra.db.SystemKeyspace.getSSTableReadMeter(SystemKeyspace.java:907) at org.apache.cassandra.io.sstable.SSTableReader.<init>(SSTableReader.java:337) at org.apache.cassandra.io.sstable.SSTableReader.openForBatch(SSTableReader.java:160) at org.apache.cassandra.io.sstable.SSTableLoader$1.accept(SSTableLoader.java:112) at java.io.File.list(File.java:1087) at org.apache.cassandra.io.sstable.SSTableLoader.openSSTables(SSTableLoader.java:73) at org.apache.cassandra.io.sstable.SSTableLoader.stream(SSTableLoader.java:155) at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:68) Caused by: org.apache.cassandra.db.KeyspaceNotDefinedException: Keyspace system does not exist