Getting below error while restoring snapshot of 1.7 ES data on 2.4 ES:
{"error":{"root_cause":[{"type":"snapshot_restore_exception","reason":"[my_backup:snapshot_20190213] cannot restore index [test_09] because it cannot be upgraded"}],"type":"snapshot_restore_exception","reason":"[my_backup:snapshot_20190213] cannot restore index [test_09] because it cannot be upgraded","caused_by":{"type":"illegal_state_exception","reason":"unable to upgrade the mappings for the index [test_09], reason: [Field name [dv.fullId] cannot contain '.']","caused_by":{"type":"mapper_parsing_exception","reason":"Field name [dv.fullId] cannot contain '.'"}}},"status":500}
Our plan is to upgrade ES version from 1.7 -> 2.4 -> 5
Can someone please help provide pointers on fixing this issue?
Do you mean we should setup 6.6.1 ES , restore snapshot & reindex? If yes, in that case how about restoring snapshot? I faced the error mentioned during snapshot restoration on 2.4 binaries. How can we reindex until data is restored.
Further, we discussed this internally and decided to remove the filter [dv.fullId] causing error. Is it fine to remove the filter? We are assuming filter is used to speed up the searches in ES. Please confirm.
Also in parallel we tried, 1.7 -> 5.x by removing the filter using reindex from remote and got the response as below:
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.
Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.
Try to add ?v at the end. That will show the headers. For more details, look at the documentation where fields are explained.
Your cluster is yellow because you probably have only one node running. So replicas are not allocated.
One more query, when we restore 1.7 elasticsearch data on 5.6 does index size increases? As per my observation, we did reindex from remote (1.7 -> 5.6). After reindex completed we see number of documents same on both but store.size increased.
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.