[ 
https://issues.apache.org/jira/browse/CASSANDRA-5785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brandon Williams resolved CASSANDRA-5785.
-----------------------------------------

    Resolution: Invalid

You can't change the partitioner like that, you'll have to rewrite all the 
sstables with the partitioner of the cluster you intend to load them on.
                
> Unable to bulkload data from old cluster using SSTableLoader
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-5785
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5785
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.6
>         Environment: CentOs
>            Reporter: deepti naidu
>              Labels: SSTableLoader, SSTables
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to