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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]