cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-8069) IllegalArgumentException in SSTableBatchOpen
Date Tue, 11 Nov 2014 18:29:34 GMT

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

Joshua McKenzie resolved CASSANDRA-8069.
----------------------------------------
    Resolution: Not a Problem

{noformat}
ERROR [OptionalTasks:1] 2014-10-02 09:26:42,821 CassandraDaemon.java:166 - Exception in thread
Thread[OptionalTasks:1,5,main]
java.lang.OutOfMemoryError: Java heap space
	at com.yammer.metrics.stats.Snapshot.<init>(Snapshot.java:30) ~[metrics-core-2.2.0.jar:na]
	at com.yammer.metrics.stats.ExponentiallyDecayingSample.getSnapshot(ExponentiallyDecayingSample.java:131)
~[metrics-core-2.2.0.jar:na]
	at com.yammer.metrics.core.Histogram.getSnapshot(Histogram.java:180) ~[metrics-core-2.2.0.jar:na]
	at com.yammer.metrics.core.Timer.getSnapshot(Timer.java:183) ~[metrics-core-2.2.0.jar:na]
	at org.apache.cassandra.db.ColumnFamilyStore$2.run(ColumnFamilyStore.java:340) ~[apache-cassandra-2.1.0.jar:2.1.0]
	at org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor$UncomplainingRunnable.run(DebuggableScheduledThreadPoolExecutor.java:75)
~[apache-cassandra-
{noformat}

OOM - you need more heap space allocated to the process.

As per CASSANDRA-8192, you really need > 512m allocated as heap max.

> IllegalArgumentException in SSTableBatchOpen
> --------------------------------------------
>
>                 Key: CASSANDRA-8069
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8069
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Windows-7-32 bit, 3GB RAM, Java 1.7.0_67
>            Reporter: Andreas Schnitzerling
>         Attachments: system.log
>
>
> Since update of 2 of 12 nodes from 2.0.10 to 2.1-release Exception on start and during
operation.
> {panel:title=system.log}
> ERROR [SSTableBatchOpen:1] 2014-10-01 10:43:27,088 CassandraDaemon.java:166 - Exception
in thread Thread[SSTableBatchOpen:1,5,main]
> java.lang.IllegalArgumentException: null
> 	at org.apache.cassandra.io.util.Memory.allocate(Memory.java:61) ~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at org.apache.cassandra.io.compress.CompressionMetadata.readChunkOffsets(CompressionMetadata.java:172)
~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:125)
~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:83)
~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.metadata(CompressedSegmentedFile.java:50)
~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:48)
~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:757) ~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:716) ~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:394) ~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:294) ~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at org.apache.cassandra.io.sstable.SSTableReader$4.run(SSTableReader.java:430) ~[apache-cassandra-2.1.0.jar:2.1.0]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[na:1.7.0_67]
> 	at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.7.0_67]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_67]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_67]
> 	at java.lang.Thread.run(Unknown Source) [na:1.7.0_67]
> {panel}



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

Mime
View raw message