cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: Truncate + Snapshot + Cannot Allocate Memory == Timeout
Date Wed, 29 Sep 2010 05:19:16 GMT
On Tue, Sep 28, 2010 at 11:25 PM, Aaron Morton <> wrote:
> 1) Is the memory error just a result of me letting my machine run stupidly
> low on memory?

No, it's the JVM forking to run ln.  Enable overcommit, or get JNA so
it does the link w/ native code instead.

> 2) Should it have returned an ApplicationError or some such in this case?
> The code in ColumnFamilyStore:1368 is catching the IOException from the call
> to FileUtils.createHardLink and wrapping it in an IOError. However the code
> in TruncateVerbHandler:56 is looking for the IOException.

That does sound like a bug.

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support

View raw message