Hello All, I am trying to get an understanding of the Elasticsearch cluster system. Hence, I have set up the Elasticsearch.yml
file in the following. I have created 2 folders - one for Master and the other is Data. However, I get an error "Failed to send join request to master... My configurations are as follows
`Master Node
cluster.name: remote
node.name: Remote-Master
node.master: true
node.data: false
path.data: D:\ELK-Runnable\Elasticsearch\data
path.logs: D:\ELK-Runnable\Elasticsearch\logs
network.host: 0.0.0.0
http.port: 9200-9299
transport.port: 9300-9399
discovery.zen.minimum_master_nodes: 1`
`Data Node
cluster.name: remote
node.name: Remote-Data
node.master: false
node.data: true
path.data: D:\ELK-Runnable\Elasticsearch_Data\data
path.logs: D:\ELK-Runnable\Elasticsearch_Data\logs
network.host: 0.0.0.0
http.port: 9200-9299
transport.port: 9300-9399
discovery.zen.minimum_master_nodes: 1 `
The error is listed below
[2019-09-07T20:31:15,578][INFO ][o.e.d.z.ZenDiscovery ] [Remote-Data] failed to send join request to master [{Remote-Master}{96wtLUIOQz2YHSoiCYHIiA}{HZrGJ25IQHOelqzyc3FfRw}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=17039638528, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}], reason [RemoteTransportException[[Remote-Master][127.0.0.1:9300][internal:discovery/zen/join]]; nested: IllegalArgumentException[can't add node {Remote-Data}{96wtLUIOQz2YHSoiCYHIiA}{UrKgT27aSjmPGhmgxA81jQ}{192.168.0.157}{192.168.0.157:9300}{ml.machine_memory=17039638528, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, found existing node {Remote-Master}{96wtLUIOQz2YHSoiCYHIiA}{HZrGJ25IQHOelqzyc3FfRw}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=17039638528, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} with the same id but is a different node instance]; ]
I just want to achieve to ingest data through the master into the data node. I am just getting an understanding of cluster management. Any suggestions would be great. Thanks