I used to be able to manually decompress Elasticsearch 1.7 snapshot metadata (and thus read index settings and mappings) by using a LZF decompressor. With Elasticsearch 2.x this appears to be no longer the case. How can I manually decompress the new snapshot metadata files?
It is quite complicated now due to the format change. The metadata is now stored in SMILE format (not JSON as it was before) and is preceded by a header with format version and followed by footer with checksum that is checked during restore to make sure the file wasn't corrupted. You can find a snippet of the code that reads these files here
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.