I want to set up cluster on the same machine I use for development purpose. After going though earlier posts, I found that setting node.max_local_storage_nodes property with >1 creates those many number of nodes locally. I had set the same in Elasticsearch.yml configuration and started the instance and issued a curl as follows
[2019-03-27T21:52:15,085][INFO ][o.e.d.z.ZenDiscovery ] [RPAcNRs] failed to send join request to master [{RPAcNRs}{RPAcNRsRSM21qBMpiHIzcQ}{I3GUBiJDQTCLIzWuKwOAXg}{127.0.0.1}{127.0.0.1:9300}], reason [RemoteTransportException[[RPAcNRs][127.0.0.1:9300][internal:discovery/zen/join]]; nested: IllegalArgumentException[can't add node {RPAcNRs}{RPAcNRsRSM21qBMpiHIzcQ}{n8cs8Preformatted textbB-SEKKgJJ8bAQekw}{127.0.0.1}{127.0.0.1:9301}, found existing node {RPAcNRs}{RPAcNRsRSM21qBMpiHIzcQ}{I3GUBiJDQTCLIzWuKwOAXg}{127.0.0.1}{127.0.0.1:9300} with the same id but is a different node instance]; ]
As you can see, your logs are not correctly formatted.
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.
About your issue, please try again but remove the data dir first. Note that it will remove all existing data but I guess that you are just trying things locally, right?
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.