You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Lourie (JIRA)" <ji...@apache.org> on 2017/02/26 20:58:46 UTC
[jira] [Comment Edited] (CASSANDRA-13010) nodetool compactionstats
should say which disk a compaction is writing to
[ https://issues.apache.org/jira/browse/CASSANDRA-13010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884908#comment-15884908 ]
Alex Lourie edited comment on CASSANDRA-13010 at 2/26/17 8:58 PM:
------------------------------------------------------------------
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.
was (Author: alourie):
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)