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