Not able to start data node for ES cluster

Hello @dadoonet,

Can you please help me in this?
I am trying develop elasticsearch clustering using 2 servers. They both are different hosts. I want to create one data and one master node.
Please find below Elasticsearch.yml file for master node: Cluster Master-node
node.master: true true
transport.tcp.port: 9300-9400
node.ingest: true ["",""]
bootstrap.memory_lock: true
http.port: 9200
cluster.initial_master_nodes: ["abcd"] /elasticsearch/data/
path.logs: /var/log/elasticsearch/
path.repo: /elasticsearch/repo/

and also find Elasticsearch.yml file for data node: Cluster Data-node1
node.master: false true
node.ingest: false ["",""]
transport.tcp.port: 9300-9400 /elasticsearch/data/
path.logs: /var/log/elasticsearch/
path.repo: /elasticsearch/repo/
bootstrap.memory_lock: true
http.port: 9400

My master node is getting started without any error. but data node throwing an error:

[2019-10-17T06:55:05,393][WARN ][o.e.c.c.ClusterFormationFailureHelper] [Data-no
de1] master not discovered yet: have discovered []; discovery will continue usin
g [] from hosts providers and [{Data-node1}{vMrL87DfRfmZV46p
ml.machine_memory=51539005440, xpack.installed=true, ml.max_open_jobs=20}] from
last-known cluster state; node term 0, last-accepted version 0 in term 0

Can you please look into it and let me know what other changes i need to do in config file so that data node will be up and running. Also let me know if i m doing anything wrong while doing clustering.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.