Created CASSANDRA-1557 for the error masking. 

Aaron

On 29 Sep 2010, at 18:19, Jonathan Ellis wrote:

> On Tue, Sep 28, 2010 at 11:25 PM, Aaron Morton <[email protected]> 
> 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
> http://riptano.com

Reply via email to