Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15724

Modify cassandra.yaml and replace the default data location, still data stored in default location

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Works for Me
    • None
    • Local/SSTable
    • None
    • All
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            boopalan.m Boopalan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: