I want to install Cassandra on Ubuntu 16.04, and I'm not sure which version to use. How to find the right Cassandra version for 16.04?
AksTester
Asked:
2018-05-18 22:20:54 +0800 CST
I execute the command sudo cassandra -R
to start cassandra
and I get the following error.
getopt: invalid option -- 'R'
/usr/sbin/cassandra: 158: exec: java: not found
It points to the following line in the cassandra script.
else
exec $NUMACTL "$JAVA" $JVM_OPTS $cassandra_parms -cp "$CLASSPATH"
Is it because the environment variable JAVA
is not set?
If yes, how to set the variable?
The output of echo $JAVA_HOME
is blank. This is the output of java -version
:
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
Ted Cahall
Asked:
2018-03-08 05:15:27 +0800 CST
I have a series of "old" data center servers (that I bought when my company upgraded) that I use to run Cassandra and Hadoop clusters at home. They are loud, power hungry and take up a lot of space in my basement.
Other than paying a monthly bill to AWS for a bunch of EC2 nodes, what is a better way to have my home data center clusters?
MikiBelavista
Asked:
2018-02-06 01:24:19 +0800 CST
I have added
echo "deb http://www.apache.org/dist/cassandra/debian 311x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
Now I want to remove it and install Cassandra in another way.How to delete it?