Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

mandardotkulkarni_162904 avatar image
mandardotkulkarni_162904 asked ·

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 characters needed characters left characters exceeded

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

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 characters needed characters left characters exceeded

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