Add node2 (ES 2.0) to create a cluster with node 1 (ES 1.4.4)


#1

Hi,

I try to create a cluster with the old machine and a new one. But I am having problem on unicast discovery.

ES 1.4.4 (old machine)
cluster.name: elasticsearch
node.name: "node1"
node.master: true
node.data: true
path.conf: /etc/elasticsearch
path.data: /var/lib/elasticsearch
network.host: 10.0.0.35
discovery.zen.ping.timeout: 10s
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts : ["10.0.0.35:9300"]

ES 2.0 (new machine)
cluster.name: elasticsearch
node.name: "node2"
node.master: false
network.host: 10.0.0.27
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["10.0.0.35:9300"]

The node2 is having problem connecting to node 1.
$ curl 10.0.0.35:9300
curl: (52) Empty reply from server

Then the elasticsearch.log in node 1 will show
[WARN ][transport.netty ] [node1] Message not fully read (request) for [934] and action [internal:discovery/zen/unicast], resetting

Is there anything I missed? How can I connect node2 ES 2.0 to node1?

Thanks!


(Mark Walkom) #2

You can't!
The upgrade process from 1.X to 2.X requires a complete cluster restart.


#3

Does this mean I cannot have a cluster with a ES1.4.4 and ES 2.0 together?


(Mark Walkom) #4

That is correct.


(system) #5