question

mandardotkulkarni_162904 avatar image
mandardotkulkarni_162904 asked Erick Ramirez answered

Access sstable files under data directory


I have installed DSE single node cassandra on ubuntu machine. I was trying to access the /var/lib/cassandra/data directory to see the sstables generated. But I am not able to access it. Can someone help please?
Thank you in advance.

cassandra
1 comment
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

@brasco --Donnie Roberson-- avatar image @brasco --Donnie Roberson-- commented ·

What type of install? Package or tarball? By default on package install /var/lib/cassanda/data has 755 permission so anyone should be able to see the files. Tarball installs, you would set the permissions of the directory for the user that you are starting DSE with. If a tarball who is the user that DSE was started with? Are you able to the user running DSE or use sudo to see permissions?

1 Like 1 ·

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

@mandardotkulkarni_162904 If you installed DSE as a package, the files should be owned by the cassandra user.

For tarball installations, you will need to create the /var/lib/cassandra directory yourself with ownership and permissions you've setup. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.