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>
Arguments

<path>

The path to the snapshottable directory

<oldName>

The old snapshot name

<newName>

The new snapshot name

Found a mistake? Seleсt text and press Ctrl+Enter to report it