Unable to connect to Master node from Data node in ElasticSearch

Hi,

         I am unable to connect to master node from one of my data node. Below is error I see from elasticsearch.log

[2019-06-28T17:06:58,964][WARN ][o.e.c.c.ClusterFormationFailureHelper] [data1] master not discovered yet: have discovered ; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{data1}{rR43fnwoRCmahvOMz_2rhQ}{UE89ceEYTjeIx0dHLWL7iQ}{10.0.0.10}{10.0.0.10:9300}{ml.machine_memory=2011271168, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 1, last-accepted version 15 in term 1

[2019-06-28T17:07:08,966][WARN ][o.e.c.c.ClusterFormationFailureHelper] [data1] master not discovered yet: have discovered ; discovery will continue using [127.0.0.1:9301, 127.0.0.1:9302, 127.0.0.1:9303, 127.0.0.1:9304, 127.0.0.1:9305, [::1]:9301, [::1]:9302, [::1]:9303, [::1]:9304, [::1]:9305] from hosts providers and [{data1}{rR43fnwoRCmahvOMz_2rhQ}{UE89ceEYTjeIx0dHLWL7iQ}{10.0.0.10}{10.0.0.10:9300}{ml.machine_memory=2011271168, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 1, last-accepted version 15 in term 1

elasticsearch.yml file setup of my data1 node

node.name: data1

node.master: false

path.data: /var/lib/elasticsearch

path.logs: /var/log/elasticsearch

network.host: ["localhost", "10.0.0.10"]

#discovery.seed_hosts: ["master1"]

cluster.initial_master_nodes:

  • master1

Please help to me to fix this issue

Any help ?

Any help ?

Please be patient, there's no guarantee of a quick response from the volunteers that answer questions here. Also your post is almost completely unreadable because of how it's formatted. You'd be much more likely to get a response if you fixed that.

updated

It's not.

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.

2 Likes

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