Cassandra nodetool JPLISAgent.c error

I just installed cassandra 3.11 on a VM with Ubuntu 16.04 as described in the tutorial ( https://cassandra.apache.org/download/ ). Before installing cassandra, I installed the latest openjdk. Now I'm at the point

"Make sure Cassandra is running by invoking the nodetool status from the command line."

but this gives a rather long massage:

java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message transform method call failed at JPLISAgent.c line: 884
error: null

      

- StackTrace -

java.lang.NullPointerException
    at org.apache.cassandra.config.DatabaseDescriptor.getDiskFailurePolicy(DatabaseDescriptor.java:1848)
    at org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable(JVMStabilityInspector.java:62)
    at org.apache.cassandra.io.util.FileUtils.<clinit>(FileUtils.java:77)
    at org.apache.cassandra.utils.FBUtilities.getToolsOutputDirectory(FBUtilities.java:804)
    at org.apache.cassandra.tools.NodeTool.printHistory(NodeTool.java:199)
    at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:167)

      

So, I am not familiar with programming nodetool and cassandra, can anyone help me to solve this problem? Thanks in advance, Herman

It seems to be an openjdk-9 issue because if I use oracle8 jdk it gives the well known message "Failed to connect to" 127.0.0.1:7199 ".

+3


source to share





All Articles