Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6205

sstableloader broken in 2.0 HEAD

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.2
    • Component/s: None
    • Labels:
      None
    • Severity:
      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
      

        Attachments

        1. 6205.patch
          2 kB
          Tom Hobbs

          Activity

            People

            • Assignee:
              thobbs Tom Hobbs
              Reporter:
              nickmbailey Nick Bailey
              Authors:
              Tom Hobbs
              Reviewers:
              Sylvain Lebresne
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: