You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Philip Thompson (JIRA)" <ji...@apache.org> on 2015/03/18 22:05:38 UTC

[jira] [Resolved] (CASSANDRA-7896) Running sstableupgrade in Cassandra 2.0.10 causes java.lang.OutOfMemoryError: Java heap space

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

Philip Thompson resolved CASSANDRA-7896.
----------------------------------------
    Resolution: Cannot Reproduce

Closing as Can't Reproduce due to no response from reporter for > 1 month. Please re-open if this is still an issue.

> 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)