cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Bliss (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10270) Cassandra stops compacting
Date Fri, 04 Sep 2015 21:24:45 GMT


Adam Bliss commented on CASSANDRA-10270:

I have not set the compaction strategy, so I think it is still the default, SizeTiered.

Perhaps the problem is not that compaction is interrupted, but that it never resumes? The
logs do say 'Autocompaction is disabled' even though I specifically ran `nodetool enableautocompaction`.

`compactionstats` gives me good stats for a while after restarting, but eventually just says
'0 pending tasks`. After that, even running `nodetool compact` doesn't do anything.

> Cassandra stops compacting
> --------------------------
>                 Key: CASSANDRA-10270
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: linux (google cloud click-to-deploy, default settings, 3 nodes)
>            Reporter: Adam Bliss
>             Fix For: 2.2.x
> My cassandra cluster won't keep compacting. I notice that if I restart, it does compact
for a while, but after a time it stops. As a result, after adding a bunch of rows, I ended
up with about 1000 sstables per node.
> I'll attach more logs in a minute, but it seems like this might be the most relevant
> {noformat}
> INFO  [CompactionExecutor:1] 2015-09-04 14:22:55,796 - Compaction
interrupted: Compaction@fff9bcd0-3b1f-11e5-8df6-33158d7bf3bf(megacrawl2, ranks_by_domain,
> DEBUG [CompactionExecutor:1] 2015-09-04 14:22:55,797 - Full
interruption stack trace:
> org.apache.cassandra.db.compaction.CompactionInterruptedException: Compaction interrupted:
Compaction@fff9bcd0-3b1f-11e5-8df6-33158d7bf3bf(megacrawl2, ranks_by_
> domain, 812501702/7543091905)bytes
>         at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(
>         at ~[apache-cassandra-2.2.1.jar:2.2.1]
>         at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(
>         at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(
~[apache-cassandra-2.2.1.jar:2.2.1]                        at org.apache.cassandra.db.compaction.CompactionManager$
                      at java.util.concurrent.Executors$
>         at ~[na:1.7.0_79]  
                                                                                   at java.util.concurrent.ThreadPoolExecutor.runWorker(
~[na:1.7.0_79]                                                               at java.util.concurrent.ThreadPoolExecutor$
[na:1.7.0_79]                                                                at
> DEBUG [CompactionExecutor:1] 2015-09-04 14:22:55,797 - Checking
system.local                                                         DEBUG [CompactionExecutor:1]
2015-09-04 14:22:55,797 - Compaction buckets are [[BigTableReader(path='/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/la-83-big-Data.db'),
> {noformat}

This message was sent by Atlassian JIRA

View raw message