cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Ki <gab...@gmail.com>
Subject OOM during restart
Date Mon, 20 Jun 2011 22:24:17 GMT
Hi,

Cassandra: 7.6-2
I was restarting a node and ran into OOM while replaying the commit log.  I
am not able to bring the node up again.

DEBUG 15:11:43,501 forceFlush requested but everything is clean
<--------  For this I don't know what to do.
java.lang.OutOfMemoryError: Java heap space
    at
org.apache.cassandra.io.util.BufferedRandomAccessFile.<init>(BufferedRandomAccessFile.java:123)
    at
org.apache.cassandra.io.sstable.SSTableWriter$IndexWriter.<init>(SSTableWriter.java:395)
    at
org.apache.cassandra.io.sstable.SSTableWriter.<init>(SSTableWriter.java:76)
    at
org.apache.cassandra.db.ColumnFamilyStore.createFlushWriter(ColumnFamilyStore.java:2238)
    at
org.apache.cassandra.db.Memtable.writeSortedContents(Memtable.java:166)
    at org.apache.cassandra.db.Memtable.access$000(Memtable.java:49)
    at org.apache.cassandra.db.Memtable$1.runMayThrow(Memtable.java:189)
    at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

Any help will be appreciated.

If I update the schema while a node is down, the new schema is loaded before
the flushing when the node is brought up again, correct?

Thanks,
-gabe

Mime
View raw message