renameSnapshot
Renames a snapshot.
This operation requires owner privilege of the snapshottable directory. For more information on snapshots, see the HDFS Snapshots article.
The usage is as follows:
$ hdfs dfs -renameSnapshot <path> <oldName> <newName>
<path> |
Path to the snapshottable directory |
<oldName> |
Old snapshot name |
<newName> |
New snapshot name |