cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Vohra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7896) Running sstableupgrade in Cassandra 2.0.10 causes java.lang.OutOfMemoryError: Java heap space
Date Sat, 06 Sep 2014 17:02:28 GMT
Ajay Vohra created CASSANDRA-7896:
-------------------------------------

             Summary: Running sstableupgrade in Cassandra 2.0.10  causes java.lang.OutOfMemoryError:
Java heap space
                 Key: CASSANDRA-7896
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7896
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
         Environment: SUSE 11.3, Linux 2.6.34.10-0.6-desktop #1 SMP PREEMPT 2011-12-13 18:27:38
+0100 x86_64 x86_64 x86_64 GNU/Linux
            Reporter: Ajay Vohra


Trying to upgrade Cassandra data from version 1.2.2 to 2.0.10.

I took a snapshot from 1.2.2 version. I created the keyspace schema in 2.0.10 version and
copied the 1.2.2 snapshot under it. I then run 

bin/sstableupgrade <keyspace> <cf> snapshot

in version 2.0.10 and I get following error:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.util.ArrayList.<init>(ArrayList.java:132)
        at org.apache.cassandra.db.RowIndexEntry$Serializer.deserialize(RowIndexEntry.java:120)
        at org.apache.cassandra.io.sstable.SSTableReader.buildSummary(SSTableReader.java:487)
        at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:455)
        at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:422)
        at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:203)
        at org.apache.cassandra.io.sstable.SSTableReader.openNoValidation(SSTableReader.java:155)
        at org.apache.cassandra.tools.StandaloneUpgrader.main(StandaloneUpgrader.java:82)

I have tried increasing memory to 2 G but I get the same error. The largest data file is of
size 1275248.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message