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

Brandon Williams commented on CASSANDRA-17568:
----------------------------------------------

bq. nodetool is a tool which is intended to interact with a Cassandra process 
via JMX

Indeed, and why this approach won't work, nodetool won't necessarily be run 
from the same machine.  The server needs to do the work and return the result 
via JMX.

> Implement nodetool command to list data directories of existing tables
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-17568
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17568
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tool/nodetool
>            Reporter: Tibor Repasi
>            Assignee: Tibor Repasi
>            Priority: Normal
>             Fix For: 4.x
>
>          Time Spent: 9h
>  Remaining Estimate: 0h
>
> When a table is created, dropped and re-created with the same name, 
> directories remain within data paths. Operators may be challenged finding out 
> which directories belong to existing tables and which may be subject to 
> removal. However, the information is available in CQL as well as in MBeans 
> via JMX, a convenient access to this information is still missing.
> My proposal is a new nodetool subcommand allowing to list data paths of all 
> existing tables.
> {code}
> % bin/nodetool datapaths -- example
> Keyspace : example
>       Table : test
>       Paths :
>               
> /var/lib/cassandra/data/example/test-02f5b8d0c0e311ecb327ff24df5ab301
> ----------------
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to