Now we can create snapshot for certain directories in HDFS by command, such as "hdfs dfs -createSnapshot /tmp/sntest snapshot3".
2: Is there a API to read snapshot files?
After snapshot creation, there is a folder named .snapshot to store snapshot files. Currently I copy them to local then read them. Is there API to read snapshot file content directly without copy to local?