Manually Executing a Workload XM Purge Event

You can manually run your purge event immediately with a one-time operation, rather than scheduling a purge event.

Describes how to manually run a Workload XM purge event.

A one-time purge event is based on the maximum data retention policy using the Workload XM purge event’s parameter values, without the frequency value.

  1. Log in to Cloudera Manager.
  2. From the Navigation panel, select Clusters and then WXM.
  3. In the Status Summary panel of the WXM page, select Admin API Server.
  4. Click the Configuration tab.
  5. Search for the Admin API Server Advanced Configuration Snippet (Safety Valve) for the wxm-conf/sigmaadminapi.properites option.
  6. In the text field enter your purge event’s parameter settings, using the Purge Event Parameters table.

    For example,

    blobstore.purger.delete.request.limit=9990000
    blobstore.purger.paths.to.keep=/cloudera-dbus/ImpalaQueryProfile/2021030217/7d2bcefa-8819-4fa1-be0c-4529ee4eb98f,/cloudera-dbus/HiveAudit,/cloudera-sigma-olap-impala/02f54999-b9a4-4dca-8237-d1b047755efb,/cloudera-sigma-sdx-payloads/2bc85719-7a3e-4438-96a4-8fc0f77ff79e
    blobstore.purger.frequency=none
    blobstore.purger.start.time = 0:00
  7. Click Save Changes.
  8. From the Actions menu, select Restart this Admin API Server.
  9. In the Restart this Admin API Server message, confirm your changes by clicking Restart this Admin API Server.
  10. When the Restart API Server step window displays Completed, click Close.
  11. When a manual purge event run is required, do the following:
    1. Log in to Cloudera Manager.
    2. From the Navigation panel, select Clusters and then WXM.
    3. From the Actions menu, select Purge HDFS Bucket Data.
    4. In the Purge HDFS Bucket Data confirmation message, confirm the purge event by clicking Purge HDFS Bucket Data.
    5. When the Purge HDFS Bucket Data window displays Completed, click Close.