While running nodetool info command, I'm getting Null pointerException and Gossip active also false. Can anyone check and let me know the resolution.
*cassandra-cassandra-vm0 conf$ nodetool info**
I**D : e5c47b97-b07f-4a20-a135-6187adeaa833
Gossip active : false
Thrift active : false
Native Transport active: false
Load : 1.04 GiB
-- StackTrace --
java.lang.NullPointerException
at org.apache.cassandra.metrics.TableMetrics$1.getValue(TableMetrics.java:181)
Gossip and Native Protocol down can be caused by multiple things. I would start by checking the following 2 scenarios:
nodetool drain- In this case, restarting it should resolve the issue.disk_failure_policyandcommit_failure_policyin cassandra.yaml. If this is the case you should be able to confirm it by looking for ERROR messages in the system.log archives. A restart may or not resolve the problem depending on the persistence of the failure cause.