You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/08/31 01:21:07 UTC

[jira] [Commented] (CASSANDRA-4595) Nodetool commands like scrub uses hard coded data directory path to be /var/lib/cassandra

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

Jonathan Ellis commented on CASSANDRA-4595:
-------------------------------------------

Nodetool just sends JMX commands to the server, it never tries to access data directories itself.

I further note that I don't see "/var/lib/cassandra" hardcoded anywhere in the source tree.

                
> Nodetool commands like scrub uses hard coded data directory path to be /var/lib/cassandra
> -----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4595
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4595
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.4
>            Reporter: sankalp kohli
>            Priority: Minor
>              Labels: nodetool
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> If your data directory is not /var/lib/cassandra, the scrub and other nodetool commands won't work. This should not be hard coded but rather be picked up from the yaml. 
> We have to create sym links to get around it. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira