From 595b92e2c29a4c0d010bd29ceb79e6c7e0d4eeb4 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) (cherry picked from commit 6232235df3ae14db661819ffff22c8343c986a6e) --- 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 bcb08c80019..40934c049dd 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -351,6 +351,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 eba1d807c50..330d00fdef1 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.