Elasticsearch Cluster Addition of new node to existing cluster

Hi,

I have installed Elasticsearch 6.4.0 through rpm on my 3 node cluster( one master and two data nodes). This is working well and fine.
I have added a new node to this cluster but the method I employed is wrong is what assume.
I have just copied files from one of my data nodes. While starting this node and checking the status, I get the following issue :

[INFO ][o.e.d.z.ZenDiscovery ] [search_slave3] failed to send join request to master [{search_master}{EfH2fXTIQQuc_x90vM78Sg}{h18cjcdYSA-XrOfhxyQIWQ}{10.50.1.102}{10.50.1.102:9300}{ml.machine_memory=16656236544, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}], reason [RemoteTransportException[[search_master][10.50.1.102:9300][internal:discovery/zen/join]]; nested: IllegalArgumentException[can't add node {search_slave3}{fjUpFsbyRrSeN4I18Tmewg}{EbZIfU4BT920PnULwHfZNA}{10.50.1.228}{10.50.1.228:9300}{ml.machine_memory=16170930176, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true}, found existing node {search_slave2}{fjUpFsbyRrSeN4I18Tmewg}{T1lvyZjLTnqNcaATdkEJUg}{10.50.1.100}{10.50.1.100:9300}{ml.machine_memory=16656232448, ml.max_open_jobs=20, xpack.installed=true, ml.enabled=true} with the same id but is a different node instance]; ]

From what I know the node ID of the new node and the node from where it was copied from are the same, which is very obvious.
The solutions I see from the internet is to delete files from "/var/lib/elasticsearch" directory as it contains data related to previous nodes. This directory contains folders "elasticsearch" ,"nodes" and "hprof" files. I have deleted all of these files. Yet, I am still getting the same issue. What are the other files still containing this information? I understand this is a wrong method of installation. But I am not in a condition to reinstall it.
Could you please provide any information regarding this?

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