Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F093D107C5 for ; Mon, 22 Jul 2013 17:50:54 +0000 (UTC) Received: (qmail 36816 invoked by uid 500); 22 Jul 2013 17:50:51 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 36635 invoked by uid 500); 22 Jul 2013 17:50:51 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 35953 invoked by uid 99); 22 Jul 2013 17:50:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 17:50:50 +0000 Date: Mon, 22 Jul 2013 17:50:50 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5785) Unable to bulkload data from old cluster using SSTableLoader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13715449#comment-13715449 ] Jonathan Ellis commented on CASSANDRA-5785: ------------------------------------------- Right, streaming older sstables is not supported until 2.0+: CASSANDRA-5772. > 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