How to avoid warning when starting with discovery.type set to single node

I believe there is a bug in de code that logs the warning (elasticsearch/server/src/main/java/org/elasticsearch/cluster/coordination/ClusterBootstrapService.java at main · elastic/elasticsearch · GitHub). The assumption is made that bootstrapRequirements is filled with the cluster.initial_master_nodes setting, but in fact it is filled with the node.name setting in case of single node discovery

1 Like