You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JVM version (java -version):
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.252-b09, mixed mode)
OS version (uname -a):
Linux db-cass 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
[main] ElassandraDaemon.java:601 main Exception
java.lang.NullPointerException: null
at java.util.Objects.requireNonNull(Objects.java:203)
at org.elasticsearch.common.network.NetworkAddress.format(NetworkAddress.java:93)
at org.elasticsearch.common.network.NetworkAddress.format(NetworkAddress.java:69)
at org.elassandra.discovery.CassandraDiscovery$GossipCluster.lambda$update$0(CassandraDiscovery.java:355)
at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853)
at org.elassandra.discovery.CassandraDiscovery$GossipCluster.update(CassandraDiscovery.java:335)
at org.elassandra.discovery.CassandraDiscovery$GossipCluster.update(CassandraDiscovery.java:310)
at org.elassandra.discovery.CassandraDiscovery.doStart(CassandraDiscovery.java:446)
at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:72)
at org.elasticsearch.node.Node.start(Node.java:797)
at org.apache.cassandra.service.ElassandraDaemon.activate(ElassandraDaemon.java:215)
at org.apache.cassandra.service.ElassandraDaemon.main(ElassandraDaemon.java:567)
The java.lang.NullPointerException happens in a debug message because you have an RPC or Internal ip address not set in your cluster gossip state, probably because your seed address does not match your broadcast address in your single node cluster config.
Moreover, you should set num_token=8 rather than 256 in your config to get better search performances.
Elassandra version: 6.2.3.27
JVM version (
java -version
):openjdk version "1.8.0_252"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.252-b09, mixed mode)
OS version (
uname -a
):Linux db-cass 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
/etc/cassandra/cassandra.yaml:
/etc/hosts:
Steps to reproduce:
current working version:
update:
The text was updated successfully, but these errors were encountered: