File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
hadoop-hdfs-project/hadoop-hdfs Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -356,6 +356,8 @@ Release 2.3.0 - UNRELEASED
356356
357357 HDFS-4376. Fix race conditions in Balancer. (Junping Du via szetszwo)
358358
359+ HDFS-5375. hdfs.cmd does not expose several snapshot commands. (cnauroth)
360+
359361Release 2.2.1 - UNRELEASED
360362
361363 INCOMPATIBLE CHANGES
Original file line number Diff line number Diff line change @@ -123,6 +123,14 @@ goto :eof
123123 set CLASS = org.apache.hadoop.hdfs.tools.GetGroups
124124 goto :eof
125125
126+ :snapshotDiff
127+ set CLASS = org.apache.hadoop.hdfs.tools.snapshot.SnapshotDiff
128+ goto :eof
129+
130+ :lsSnapshottableDir
131+ set CLASS = org.apache.hadoop.hdfs.tools.snapshot.LsSnapshottableDir
132+ goto :eof
133+
126134@ rem This changes %1, %2 etc. Hence those cannot be used after calling this.
127135:make_command_arguments
128136 if " %1 " == " --config" (
@@ -164,7 +172,10 @@ goto :eof
164172 @ echo fetchdt fetch a delegation token from the NameNode
165173 @ echo getconf get config values from configuration
166174 @ echo groups get the groups which users belong to
167- @ echo Use -help to see options
175+ @ echo snapshotDiff diff two snapshots of a directory or diff the
176+ @ echo current directory contents with a snapshot
177+ @ echo lsSnapshottableDir list all snapshottable dirs owned by the current user
178+ @ echo Use -help to see options
168179 @ echo .
169180 @ echo Most commands print help when invoked w/o parameters.
170181
You can’t perform that action at this time.
0 commit comments