You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Zenek Kraweznik (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/01/09 22:03:39 UTC

[jira] [Issue Comment Edited] (CASSANDRA-3693) strange values of pending tasks with compactionstats (below 0)

    [ https://issues.apache.org/jira/browse/CASSANDRA-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182293#comment-13182293 ] 

Zenek Kraweznik edited comment on CASSANDRA-3693 at 1/9/12 9:02 PM:
--------------------------------------------------------------------

I'm using leveled compaction (with 4096mb limit, but with compression sstables are smaller).

There's a 80GB per node (3 nodes, replication factor=3).

# find /var/lib/cassandra/data -type f | wc -l
273
#

=> 273 sstables

compactionstats looks now like this:

pending tasks: -2147483648
          compaction type        keyspace   column family bytes compacted     bytes total  progress
               Compaction         Archive        Messages     35050352366               0       n/a

I wonder why 0 bytes total is visible on this node (nodetool ring is reporting 37.18GB).

After every compactions bytes total is about 73xxxxxxxxx (i guess it is not compress data size), but this value isn't saved anywhere.
                
      was (Author: zenek_kraweznik0):
    I'm using leveled compaction (with 4096mb limit, but with compression sstables are smaller).

There's a 80GB per node (3 nodes, replication factor=3).

# find /var/lib/cassandra/data -type f | wc -l
273
#

=> 273 sstables

compactionstats looks now like this:

pending tasks: -2147483648
          compaction type        keyspace   column family bytes compacted     bytes total  progress
               Compaction         Archive        Messages     35050352366               0       n/a

I wonder why 0 bytes total is visible on this node (nodetool ring is reporting 37.18GB).
                  
> strange values of pending tasks with compactionstats (below 0)
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-3693
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3693
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, Tools
>    Affects Versions: 1.0.6
>         Environment: linux, oracle java 1.6.26
>            Reporter: Zenek Kraweznik
>            Priority: Minor
>
> during scrub:
> Every 2.0s: for i in 1 2 3; do nodetool -h 192.168.2.$i compactionstats; done                                                                                                                                     Wed Jan  4 13:48:13 2012
> pending tasks: 2147483646
>           compaction type        keyspace   column family bytes compacted     bytes total  progress
>                Compaction         Archive        Messages     28034971475     72393139120    38.73%
> pending tasks: -2147483647
>           compaction type        keyspace   column family bytes compacted     bytes total  progress
>                Compaction         Archive        Messages     24575687282     72385305067    33.95%
> pending tasks: 0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira