Enabling and disabling HDFS snapshots

For snapshots to be created, HDFS directories must be enabled for snapshots. You cannot specify a directory as part of a snapshot policy unless it has been enabled for snapshots.

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

Enabling an HDFS Directory for Snapshots

  1. From the Clusters tab, select the CDH HDFS service.
  2. Go to the File Browser tab.
  3. Go to the directory you want to enable for snapshots.
  4. In the File Browser, click the drop-down menu next to the full file path and select Enable Snapshots.

Disabling a Snapshottable Directory

To disable snapshots for a directory that has snapshots enabled, use Disable Snapshots from the drop-down menu button at the upper right. If snapshots of the directory exist, they must be deleted before snapshots can be disabled.