From 6232235df3ae14db661819ffff22c8343c986a6e Mon Sep 17 00:00:00 2001 From: Vinayakumar B Date: Fri, 8 May 2015 14:37:50 +0530 Subject: [PATCH] HDFS-8175. Provide information on snapshotDiff for supporting the comparison between snapshot and current status (Contributed by J.Andreina) --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop-hdfs/src/site/xdoc/HdfsSnapshots.xml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index fc03bbe805..2acd6fa515 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -678,6 +678,9 @@ Release 2.8.0 - UNRELEASED HDFS-8187. Remove usage of "-setStoragePolicy" and "-getStoragePolicy" using dfsadmin cmd (as it is not been supported) (J.Andreina via vinayakumarb) + HDFS-8175. Provide information on snapshotDiff for supporting the comparison + between snapshot and current status (J.Andreina via vinayakumarb) + Release 2.7.1 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsSnapshots.xml b/hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsSnapshots.xml index eba1d807c5..330d00fdef 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsSnapshots.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsSnapshots.xml @@ -257,6 +257,10 @@ fromSnapshotThe name of the starting snapshot. toSnapshotThe name of the ending snapshot. +

+ Note that snapshotDiff can be used to get the difference report between two snapshots, or between + a snapshot and the current status of a directory.Users can use "." to represent the current status. +

  • Results:
    +The file/directory has been created.