Snapshot HDFS files encrypted?


Hi - Are the files created in HDFS as snapshot of a Elasticsearch index encrypted by default? Upon running the 'hadoop fs -text' command against one of the index snapshot I get only garbage printed on screen. It'd be great if someone can clarify.

(Christian Dahlqvist) #2

The snapshot process backs up Lucene segments, which are binary files, so it is perfectly natural that you can not read them as text files.


Thanks Christian. What exact format are the stored in? Also, is there any library to read and process them in a map reduce program?

(Christian Dahlqvist) #4

Not that I am aware of. The normal was to interact with data in Elasticsearch from Hadoop is through the ES-Hadoop connector, not via backed up snapshots.

(Costin Leau) #5

Snapshots are internal to ES and are not meant to be modified or read by outside tools. If you want to interact with the data, one should work through it through ES, and in case of Hadoop ES-Hadoop is the way to go.


(system) #6