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

Unable to bulkload data from old cluster using SSTableLoader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Invalid
    • None
    • None
    • CentOs

    • Normal

    Description

      Hi,

      I created snapshots of data from an old cluster with RandomPartitioner so that I could then transfer this data to a new cluster with Murmur3Partitioner using SSTableLoader. Instead of live streaming, I saved the SSTables created on a node in the new cluster.

      I get the following error when I attempt to run SSTableLoader:

      java.lang.IllegalStateException: SSTable first key DecoratedKey(4773451653614838302, 00000000001519ba) > last key DecoratedKey(-8904542581826997474, 000000000018c62f)

      at org.apache.cassandra.io.sstable.SSTableReader.validate(SSTableReader.java:482)
      at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:206)
      at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:154)
      at org.apache.cassandra.io.sstable.SSTableLoader$1.accept(SSTableLoader.java:100)
      at java.io.File.list(File.java:1010)
      at org.apache.cassandra.io.sstable.SSTableLoader.openSSTables(SSTableLoader.java:67)
      at org.apache.cassandra.io.sstable.SSTableLoader.stream(SSTableLoader.java:121)
      at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:67)

      Attachments

        Activity

          People

            Unassigned Unassigned
            deepti.naidu deepti naidu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: