After the upgrade to 7.6.0 i got the following error:
ERROR: setting [cluster.initial_master_nodes] already set, saw [xxx.xx.xx.230,xxx.xx.xx.231,xxx.xx.xx.232] and [xxx.xx.xx.230,xxx.xx.xx.231,xxx.xx.xx.232]
If i remove the settings i got a new error:
the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
By "remove the settings" do you mean you removed just cluster.initial_master_nodes or did you also remove discovery.seed_hosts? You should leave discovery.seed_hosts in place.
thank you very much for your quick response.
i have removed step by step every setting. only the error message changed slightly until there was no more setting.
Then i got:
the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
For Example with discovery.seed_host i got:
ERROR: setting [discovery.seed_hosts] already set, saw [xxx.xx.xx.230,xxx.xx.xx.231,xxx.xx.xx.232] and [xxx.xx.xx.230,xxx.xx.xx.231,xxx.xx.xx.232]
It seems that Elasticsearch is picking up these settings twice for some reason. Can you describe your setup a bit more precisely? Are you using docker-compose like in the manual? If so, can you share the full docker-compose.yml? If not, how are you orchestrating these nodes?
(I tried running docker-compose as documented and did not see the effect you are describing)
Of course it would be nice to use the original buildscript. Some projects such as grafana allow you to parameterize the build like :
docker build --build-arg GF_UID=714 --build-arg GF_GID=714
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.