You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jon Meredith (Jira)" <ji...@apache.org> on 2020/04/14 15:59:00 UTC

[jira] [Commented] (CASSANDRA-15724) Modify cassandra.yaml and replace the default data location, still data stored in default location

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

Jon Meredith commented on CASSANDRA-15724:
------------------------------------------

Are you editing the correct configuration file? From the filenames/output above it looks like you're running RedHat and perhaps eding the wrong file.

When the service is running, check the arguments of the running process with something like {{ps auxwww | grep CassandraDaemon}} what does {{-Dcassandra.config}} point to?

> Modify cassandra.yaml and replace the default data location, still data stored in default location
> --------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15724
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15724
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/SSTable
>            Reporter: Boopalan 
>            Priority: Normal
>
> I have created a separated directory (/mnt/) for cassandra data, commit log, hint and saved_cache. But data are not created on created directory, stored in default location /var/lib/cassandra/data.
>  
> *Configuration File:*
> [root@node-master cassandra]# cat /etc/cassandra/default.conf/cassandra.yaml | grep /mnt/
> hints_directory: */mnt/*hints
>     - */mnt/*data
> commitlog_directory: */mnt/*commitlog
> cdc_raw_directory: */mnt/*cdc_raw
> saved_caches_directory: */mnt/*saved_caches
>  
> Please help me to resolve this issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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