createSnapshot

Creates a snapshot of a snapshottable directory.
This operation requires owner privilege of the snapshottable directory. For more information on snapshots, see the Snapshots in HDFS article.

The usage is as follows:

$ hdfs dfs -createSnapshot <path> [<snapshotName>]
Arguments

<path>

The path of the snapshottable directory

[<snapshotName>]

The snapshot name, which is an optional argument. When it is omitted, a default name is generated using a timestamp with the format 's’yyyyMMdd-HHmmss.SSS, e.g. s20130412-151029.033

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