virajjasani commented on a change in pull request #3740:
URL: https://github.com/apache/hadoop/pull/3740#discussion_r759942367



##########
File path: hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
##########
@@ -1604,6 +1605,26 @@ See also: 
[FileSystem](../../api/org/apache/hadoop/fs/FileSystem.html).renameSna
 
         
{"SnapshotDiffReport":{"diffList":[],"fromSnapshot":"s3","snapshotRoot":"/foo","toSnapshot":"s4"}}
 
+### Get Snapshot Diff Iteratively
+
+* Submit a HTTP GET request.
+
+        curl -X GET curl -i -X GET 
"http://localhost:9870/webhdfs/v1/foo?op=GETSNAPSHOTDIFFLISTING&oldsnapshotname=s4&snapshotname=s5";

Review comment:
       good to mentioned that in the absence of `snapshotdiffstartpath` and 
`snapshotdiffindex`, their default values used will be empty string and -1 
respectively.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to