Taking and deleting HDFS snapshots

To take HDFS snapshots for a directory, you must first enable snapshots for the HDFS directory.

You can also schedule snapshots to occur regularly by creating a snapshot policy in Replication Manager.

Minimum Required Role: Cluster Administrator (also provided by Full Administrator)

  1. Go to the Cloudera Manager > HDFS service > File Browser tab.
  2. To take a snapshot of a directory, perform the following steps:
    1. Go to the directory with the snapshot you want take snapshots.
    2. Click the drop-down menu next to the full path name, and select Take Snapshot.
    3. Enter a name for the snapshot and then click OK in the Take Snapshot dialog box.
      The snapshot is added to the snapshot list.
  3. To delete a snapshot for a directory, perform the following steps:
    1. Go to the directory with the snapshot you want to delete.
    2. In the list of snapshots, locate the snapshot you want to delete and click .
    3. Select Delete.