I would like to start Cassandra with a very simple single node cluster, but I cannot do this.
I followed the steps described in
https://www.digitalocean.com/community/tutorials/how-to-install-cassandra-and-run-a-single-node-cluster-on-a-ubuntu-vps
Basically,
- Built a new CentOS 7 virtual machine on VirtualBox.
- Once the JDK is installed, place it under / usr / local / and create patches.
- Installed Apache Cassandra, placed it under / root /, made directries for the lib library and journal, and gave Cassandra write permissions.
In the end, when I ran below as a root user,
A message appeared below.
Running Cassandra as root user or group is not recommended - please start Cassandra using a different system user. If you really want to force running Cassandra as root, use -R command line option.
So i ran
Then I received the message below.
The problem seems to be related to the JVM, but I have no idea about its cause and solution.
Please let me know if you have ideas on how to solve this problem.
My environment is as follows:
- Windows 10
- VirtualBox 5.1.28
- CentOS-7-x86_64-Minimum-1611
- JDK-9.0.1
- Apache Kassandra 3.11.1
source share