I am trying to upgrade Elasticsearch. Do I need to remove old .yml file while upgrading Elasticsearch to a newer version? In the documentation it is mentioned as -
''Use rpm or dpkg to install the new package. All files should be placed in their proper locations, and config files should not be overwritten.''
I didn't clearly understand this point. Do I need to install the new version and just forget about old Elasticsearch files? Can someone please explain what it means?
Please bear with me. I still didn't get the point. Currently, I am running Elasticsearch 5.5 on Redhat machine and want to upgrade it to Elasticsearch 5.6.
From the answer you gave, what I am assuming is to take the backup of ES 5.5 elasticsearch.yml file and just install ES 5.6(which would replace 5.5 file with 5.6). I don't understand what you mean by backporting changes.
I've just upgraded ES 5.5.1 to ES 5.6.7. Even though I didn't edit .yml file, I still see the old settings in the new file. Shouldn't the file be edited manually? Please shed some light on this.
Got you. I am using rpm package manager to upgrade. I think on my OS(Redhat), everything is being taken care of.
And one more question is - I've taken the Snapshot of the cluster and Restore would be needed only if something goes wrong in upgrading ES? Otherwise everything will be taken care of(all the indices in older version is stored in newer version)?
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.