[ 
https://issues.apache.org/jira/browse/CASSANDRA-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tyler Hobbs updated CASSANDRA-7136:
-----------------------------------

    Attachment: 7136.txt

7136.txt (and [branch|https://github.com/thobbs/cassandra/tree/CASSANDRA-7136]) 
does the following:
* Sets {{-Dcassandra.logdir}} and {{-Dcassandra.storagedir}} to 
{{$CASSANDRA_HOME/logs}} and {{$CASSANDRA_HOME/data}}
* If cassandra.yaml doesn't specify data dirs, commitlog dirs, or saved caches 
dirs (which it doesn't by default after this patch), {{/data}}, {{/commitlog}}, 
and {{/saved_caches}} are used inside of the {{-Dcassandra.storagedir}} 
directory
* The logback conf uses the value of {{-Dcassandra.logdir}}
* The debian build process patches cassandra.yaml to keep the old default 
directories

I attempted to update the Windows scripts as well, but I'll need 
[~JoshuaMcKenzie] to verify that those are sane and actually work.

> Change default paths to ~ instead of /var
> -----------------------------------------
>
>                 Key: CASSANDRA-7136
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7136
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Tyler Hobbs
>             Fix For: 2.1.0
>
>         Attachments: 7136.txt
>
>
> Defaulting to /var makes it more difficult for both multi-user systems and 
> people unfamiliar with the command line.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to