cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleksandr Shulgin <>
Subject Re: [Cassandra] nodetool compactionstats not showing pending task.
Date Wed, 22 Aug 2018 09:01:42 GMT
On Fri, May 5, 2017 at 1:20 PM Alain RODRIGUEZ <> wrote:

> Sorry to hear the restart did not help.


We are hitting the same issue since a few weeks on version 3.0.16.
Normally, restarting an affected node helps, but this is something we would
like to avoid doing.

What makes it worse for us is that Cassandra Reaper stops scheduling new
repair jobs if it sees that the node have more than 20 pending compaction
tasks.  We could bump this threshold, but in general the estimate could be
more accurate (or the actual tasks should be started timely).

Maybe try to monitor through JMX with
>> attribute 'Compactions' or 'CompactionsSummary'
> What is this attribute showing?

For example, I have right now a node showing "pending tasks: 16" and no
compaction running.  Here is the JMX output (well, via Jolokia):

            "Compactions": [],
            "CoreCompactorThreads": 1,
            "CompactionSummary": [],
            "MaximumCompactorThreads": 1,
            "CoreValidationThreads": 1,
            "MaximumValidatorThreads": 2147483647,

Here is the Apache Cassandra Jira:
> You search here
> <>
>  (
> for example.

I believe this is a separate issue.  There some actual compaction tasks are
running, but not making progress.  And we never TRUNCATEd our tables, and
for sure not recently.

Any more pointers on how to debug this?


View raw message