I am running a System87 Oryx Pro laptop with Ubuntu 18.04

I had only Oracle Java 11 installed for Hadoop, so I also installed
OpenJDK8  with:
$ sudo apt-get install openjdk-8-jre
and switched to it with
$ sudo update-java-alternatives --set
path/shown/with/"update-java-alternatives --list"

$ java-version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.18.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)

I installed Cassandra according to the directions on
http://cassandra.apache.org/doc/latest/getting_started/installing.html,
using the "Install from debian packages" instructions.

Now when I run
$ sudo service cassandra start
There are no errors, no feedback to stdout. I assume that's expected
behavior?

However, this fails:
$ nodetest status
error: null
-- StackTrace --
java.lang.NullPointerException
at
org.apache.cassandra.config.DatabaseDescriptor.getDiskFailurePolicy(DatabaseDescriptor.java:1892)
at
org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable(JVMStabilityInspector.java:82)
at org.apache.cassandra.io.util.FileUtils.<clinit>(FileUtils.java:79)
at
org.apache.cassandra.utils.FBUtilities.getToolsOutputDirectory(FBUtilities.java:860)
at org.apache.cassandra.tools.NodeTool.printHistory(NodeTool.java:200)
at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:168)

Can anyone help me fix this?

Reply via email to