I am trying to install and run the Datastax cassandra community edition on Redhat Linux but I don't have root privileges. I extracted the tar in my home directory but I'm unable to do ./cassandra
I am doing this on a HPC cluster and thought I'd install Cassandra in my home directory and save the data in a scratch space we've been provided (home directory doesn't have enough space to hold entire data)
I would appreciate any help! Thanks!
It is a NoSQL database written in Java that provides unique utilities that can't be matched by the other NoSQL databases. On the other hand, DataStax is basically a database platform that is based on Apache Cassandra. It has been designed to meet the availability and performance demands of mobile, web, and IoT apps.
To enable authentication: Update all Edge components that connect to Cassandra with the Cassandra username and password. On all Cassandra nodes, enable authentication. Set the Cassandra username and password on any one node.
From the installation docs for DataStax community edition, the only other step you need is to create the data and log directories:
$ sudo mkdir /var/lib/cassandra
$ sudo mkdir /var/log/cassandra
$ sudo chown -R $USER: $GROUP /var/lib/cassandra
$ sudo chown -R $USER: $GROUP /var/log/cassandra
If you are using a different location, that's fine. Just make sure to create the dirs and assign owners (like above) and also set the appropriate values in cassandra.yaml
(data_file_directories, commitlog_directories, saved_caches_directory) and log4j-server.properties
.
A more detailed log of the results you're seeing would confirm whether this is the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With