I'm afraid I get the same error when navigating to /usr/bin and running
./nodetool help
I'm definitely running Java 8 and Cassandra 3.11.4.
I'm wondering if I did something when installing Oracle Java 11 to run
Hadoop that is interfering, but that's all under another username. There is
nothing ja
On further reading it does look like there may be a problem with your Java
setup, as others are reporting this with Java 9 and above.
You could try the 3rd answer here and see if this helps:
https://stackoverflow.com/questions/48193965/cassandra-nodetool-java-lang-nullpointerexception
> On 3
My users has permissions to read everything in /etc/cassandra.
However, it gave me an idea. When I run sudo nodetool status, it works, I
get the "UN" status.
Not sure if this permissions issue will interfere with my use of Cassandra
or not. Do I have to change the permissions of the /usr/bin/node
On Wed, Apr 3, 2019 at 4:23 PM David Taylor wrote:
>
> $ nodetest status
> error: null
> -- StackTrace --
> java.lang.NullPointerException
> at
> org.apache.cassandra.config.DatabaseDescriptor.getDiskFailurePolicy(DatabaseDescriptor.java:1892)
>
Could it be that your user doesn't have permission
Hi Paul thanks for responding.
I created a ~/.cassandra directory and chmodded it to 777
in /var/log/cassandra/system.log the only non-INFO items are:
WARN [main] 2019-04-03 11:47:54,172 StartupChecks.java:136 - jemalloc
shared library could not be preloaded to speed up memory allocations
WARN
David,
When you start cassandra all the logs go to system.log normally in the
/var/log/cassandra directory, so you should look there once it has started, to
check everything is ok.
I assume you mean you ran nodetool status rather than nodetest.
The nodetool command stores a history of commands
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