cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Dusbabek (JIRA)" <>
Subject [jira] Assigned: (CASSANDRA-1596) failed compactions should not leave tmp files behind
Date Mon, 11 Oct 2010 13:51:33 GMT


Gary Dusbabek reassigned CASSANDRA-1596:

    Assignee: Gary Dusbabek

> failed compactions should not leave tmp files behind
> ----------------------------------------------------
>                 Key: CASSANDRA-1596
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Peter Schuller
>            Assignee: Gary Dusbabek
>            Priority: Minor
> Using a somewhat old (few months) trunk running tests, I had a compaction failure due
to the 2 TB file size limit on ext3fs. The tmp file was left behind, after which further compaction
> This can be detrimental in particular because disk space requirements can increase, having
additional partially written but abandoned compacted sstables around.
> Stack trace with code path included below.
> I can imagine that for debugging purposes there would be cases where you do not want
a compaction to immediately remove the temp file. On the other hand, compaction failures would
presumably be caused by the input most of the time, rather than the output. So the extra effort
of having to patch cassandra to avoid the removal does not seem like a critical issue. Maybe
one can provide a JMX tunable to turn off removal if this is a concern. Thoughts?
> java.util.concurrent.ExecutionException: File too large
>         at java.util.concurrent.FutureTask$Sync.innerGet(
>         at java.util.concurrent.FutureTask.get(
>         at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(
>         at org.apache.cassandra.db.CompactionManager$CompactionExecutor.afterExecute(
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>         at java.util.concurrent.ThreadPoolExecutor$
>         at
> Caused by: File too large
>         at Method)
>         at
>         at
>         at
>         at
>         at
>         at
>         at org.apache.cassandra.db.CompactionManager.doCompaction(
>         at org.apache.cassandra.db.CompactionManager$
>         at org.apache.cassandra.db.CompactionManager$
>         at java.util.concurrent.FutureTask$Sync.innerRun(
>         at
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>         ... 2 more

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message