As you know It's a extense file, if I paste all here I won't be able to answer more until tomorrow, so I will share it with a link: Master Logs Slave 2 logs Slave 1 logs
The pass to view all files is elastic
Thanks a lot
[2019-06-27T15:40:34,530][WARN ][o.e.d.z.ZenDiscovery ] [elasticmaster] not enough master nodes discovered during pinging (found [[Candidate{node={elasticmaster}{RhMwLe4rQO-oKoBjUxHFSw}{LhNDr75LTVSrQex0J-OZbA}{192.168.1.142}{192.168.1.142:9300}{ml.machine_memory=8363855872, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}, clusterStateVersion=-1}]], but needed [2]), pinging again
[2019-06-27T15:47:06,671][WARN ][o.e.d.z.ZenDiscovery ] [elasticslave2] not enough master nodes discovered during pinging (found [[Candidate{node={elasticmaster}{RhMwLe4rQO-oKoBjUxHFSw}{LhNDr75LTVSrQex0J-OZbA}{192.168.1.142}{192.168.1.142:9300}{ml.machine_memory=8363855872, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, clusterStateVersion=-1}]], but needed [2]), pinging again
[2019-06-27T15:48:36,020][WARN ][o.e.d.z.ZenDiscovery ] [elasticslave1] not enough master nodes discovered during pinging (found [[Candidate{node={elasticmaster}{RhMwLe4rQO-oKoBjUxHFSw}{LhNDr75LTVSrQex0J-OZbA}{192.168.1.142}{192.168.1.142:9300}{ml.machine_memory=8363855872, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, clusterStateVersion=-1}]], but needed [2]), pinging again
looks like your nodes can only connect to 192.168.1.142 but not to 192.168.1.144 and/or 192.168.1.146. Can you ping 192.168.1.144 and 192.168.1.146 from all nodes ? Is port 9300 blocked by a firewall ?
I used ping command in all node to the rest nodes, and all works good. Example:
From 192.168.1.142 to 192.168.144 , 192.168.1.142 to 192.168.1.146 etc.
Not, I think so. Because UFW and other firewall isn't installed or even activated in all nodes.
Now I used lsof -i -P -n | grep LISTEN and this is the output:
Thanks a lot! I fixed it with command ufw allow 9300/tcp in Slave 1 and Slave 2. For now I'm disabling ufw in each node to know which one needs ufw and why.
Now it is connected with via HTTPS with Password and user, now have to know how to configurate users, but it isn't for this post and first must to investigate by my own.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.