I have an active Elastic Search cluster v5.2.2 that I am currently using.
We are planning to migrate ES to 6.1.1.
While the older version was installed using rpm file, we installed the new version using tar file.
I have copied the data folder from older version to new version (new version will be installed on different machines) without shutting down the old cluster. Data size is around 800GB which took around 1 hour to copy.
All the indices of older cluster have been detected in the new cluster, but the data in those indices is completely missing.
Logs continuously show the following warning:
[[INDEX_NAME]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
Please help why the data is missing in the newer version.
Thanks for the help.
Actually, I had created a demo index on ES v5.2.2 with a small set of data and copied the data folder on another system with ES v6.1.1.
And it had worked properly without any data loss.
After that approach was successful, I followed the same procedure for a larger set; but it failed.
Can you please explain why the above process won't work.
The reason for trying this approach is that we cannot afford any downtime.
I tested doing it this way with a 1.5TB dataset. Some indices did work, some had problems. It came down to index mapping changes.
If you have a multi node cluster the rolling upgrade should not cause down time. Though make sure to check out the breaking changes, there were mapping changes between 5.x and 6.1.1.
I can not suggest anything other than the upgrade procedure explained in the document. Except for the one test of copying all of the data just to see what would happen I have always used the rolling upgrade.
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.