i have updated my cluster name. i have made changes in elasticsearch.yml file, updated clusterName: from 'x' to 'y' and restarted the server. I also made changes to 'renaming the data folder fro x to y' and now i can see the data in elastic head plugin.
i made the same changes in my code for 'cluster name' but i am getting an error NoNodeAvaliable.
for reference - NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{...}{127.0.0.1}{127.0.0.1:9300}]]
i have followed everything, restarted my servers. but still noNodeavailable.
any help will be appreciated. thanks
Thanks in advance.