cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Lourie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13010) nodetool compactionstats should say which disk a compaction is writing to
Date Sun, 26 Feb 2017 20:56:45 GMT

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

Alex Lourie commented on CASSANDRA-13010:
-----------------------------------------

Thanks [~jjirsa]!

I've started by adding a `targetDirectory` to the `CompactionInfo` object. Then I'm working
backwards handling new instantiations with appropriate path parameters.

The problem I got at the moment is finding the correct `path` parameter for every such `new`
call.  For instance, in https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/index/internal/CollatedViewIndexBuilder.java#L54;
I can't find a proper argument to add as a target directory.

Am I going the right direction? I've tried running the test with building ccm cluster and
causing it to run compactions, but the target dir shown for a running compaction is empty,
so I probably do something wrong somewhere.

Thanks.

> nodetool compactionstats should say which disk a compaction is writing to
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13010
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13010
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Jon Haddad
>              Labels: lhf
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message