Manage and monitor snapshot policies

After you create an HDFS, HBase, or Ozone snapshot policy, you can manage the snapshot policies on the “Snapshot Policies” page. You can view more details about the snapshot policy on the "Snapshot History" page.

The Snapshot Policies page in CDP Private Cloud Base Replication Manager shows the list of snapshot policies, filters to view the snapshot policies, and the Create Snapshot Policy option to create HDFS, HBase, and Ozone snapshot policies.

Snapshot policy details

The following snapshot policy details appear on the Cloudera Manager > Replication > Snapshot Policies page:

Option Description
Policy Name Shows the snapshot policy you provided during snapshot policy creation.
Cluster Shows the cluster where the snapshots reside.
Service Shows the service as HDFS, HBase, or Ozone for the snapshot policy.
Directories/Tables/Objects Shows the directories, tables, or buckets and volumes you chose for the snapshot policy.
Last Run Shows the timestamp for the last snapshot policy run.
Snapshot Schedule Shows the frequency you chose for the snapshot policy.

You can use the CLUSTER, SERVICE, and SCHEDULE filters to view the required snapshot policies on the Snapshot Policies page.

Actions menu

You can perform the following actions on a snapshot policy on the Cloudera Manager > Replication > Snapshot Policies page:
  • Click Actions > Show History for a snapshot policy to view the existing snapshots generated by the snapshot policy.
  • Click Actions > Edit Configuration to modify the schedule of the snapshot policy. You can also modify the tables, directories, or buckets and volumes in the snapshot policy.
  • Click Actions > Disable to disable the snapshot policy.
  • Click Actions > Delete to delete the snapshot policy.

Snapshots History details in Replication Manager

You might need to view details about all the snapshot job runs that were run or attempted for a snapshot policy to manage job runs or to perform troubleshooting activities. The "Snapshots History" page in CDP Private Cloud Base Replication Manager provides these details.

You can view the snapshot Policy Name, Type of the snapshot policy, Cluster where the snapshot policy resides, Service, and the automatically assigned Snapshot Prefix for all the snapshot job runs in the snapshot policy.

The Snapshots History page shows a table of snapshot jobs and the following columns for the snapshot jobs:

Table 1. Snapshots History
Column Description
Start Time Time when the snapshot job started.

Click View to open the Managed scheduled snapshots Command page, which displays details and messages about each step in the command run.

Outcome Status of snapshot policy as succeeded or failed.
Paths | Tables | Buckets Processed Shows the number of Paths Processed for the HDFS snapshot policy job; the number of Tables Processed for the HBase snapshot policy job; the number of Buckets Processed for the Ozone snapshot policy job.
Paths | Tables | Buckets Unprocessed Shows the number of Paths Unprocessed for the HDFS snapshot policy job; the number of Tables Unprocessed for the HBase snapshot policy job; the number of Buckets Unprocessed for the Ozone snapshot policy job.
Snapshots Created Number of snapshots created.
Snapshots Deleted Number of snapshots deleted.
Errors During Creation Displays a list of errors that occurred when creating the snapshot. Each error shows the related path and the error message.
Errors During Deletion Displays a list of errors that occurred when deleting the snapshot. Each error shows the related path and the error message.

When you expand a snapshot job, you can view more details about the job. Click View to see the Command Details about the job on the All Recent Commands page.

You can view the following snapshots in the specified cluster in Cloudera Manager:

  • HDFS snapshots on the Cloudera Manager > Clusters > [***HDFS service***] > File Browser tab.
  • HBase snapshots on the Cloudera Manager > Clusters > [***HBase service***] > Table Browser tab.
  • Ozone snapshots on the Cloudera Manager > Clusters > [***Ozone service***] > Snapshots tab.