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> |
The path to the snapshottable directory |
<oldName> |
The old snapshot name |
<newName> |
The new snapshot name |