You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by vi...@apache.org on 2015/05/08 11:08:21 UTC

hadoop git commit: HDFS-8175. Provide information on snapshotDiff for supporting the comparison between snapshot and current status (Contributed by J.Andreina)

Repository: hadoop
Updated Branches:
  refs/heads/trunk e642eff0e -> 6232235df


HDFS-8175. Provide information on snapshotDiff for supporting the comparison between snapshot and current status (Contributed by J.Andreina)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6232235d
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6232235d
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6232235d

Branch: refs/heads/trunk
Commit: 6232235df3ae14db661819ffff22c8343c986a6e
Parents: e642eff
Author: Vinayakumar B <vi...@apache.org>
Authored: Fri May 8 14:37:50 2015 +0530
Committer: Vinayakumar B <vi...@apache.org>
Committed: Fri May 8 14:37:50 2015 +0530

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                     | 3 +++
 hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsSnapshots.xml | 4 ++++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6232235d/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index fc03bbe..2acd6fa 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

http://git-wip-us.apache.org/repos/asf/hadoop/blob/6232235d/hadoop-hdfs-project/hadoop-hdfs/src/site/xdoc/HdfsSnapshots.xml
----------------------------------------------------------------------
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 eba1d80..330d00f 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 @@
       <tr><td>fromSnapshot</td><td>The name of the starting snapshot.</td></tr>
       <tr><td>toSnapshot</td><td>The name of the ending snapshot.</td></tr>
     </table></li>
+    <p>
+      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.
+    </p>
     <li>Results:
       <table>
         <tr><td>+</td><td>The file/directory has been created.</td></tr>