I have upgraded from 16.x up to 17.0 in the past and had no problems
connecting a client only node to a master node using unicast settings.
Has there been a change in ver 17.1 behavior regarding networking
between multicast clusters and unicast clients?
After upgrading to 17.1, the unicast client only node is no longer
"seeing" the master node, and not connecting to the cluster. Cluster
names have not changed. No other changes were made in configuration,
except for updating the elastic jar to 17.1. I have also deleted the
data folders to start the cluster from fresh. The master node has
default network settings (ie uses multicast).
Here is the client only java startup snippet:
Settings settings = settingsBuilder() .put("multicast.enabled", false) .put("client.transport.sniff", true) .put("cluster.name", "my-foo-cluster") .put("discovery.zen.ping.unicast.hosts", "master.foo.bar:9300") .build(); this.node = nodeBuilder().settings(settings).client(true).node();
Here is the master elastic search config:
cluster.name: my-foo-cluster path.data: /var/data/elasticsearch path.logs: /var/log/elasticsearch bootstrap.mlockall: true