Running the Compactor Using the CLI and REST API
About this task
You can trigger the compactor using the CLI and REST API to purge recalled data on the Data Fabric cluster or to purge stale data on the tier. See Data Compaction for more information about data compaction.
Running the Compactor to Purge Recalled Data on the Data Fabric Cluster
About this task
Run the following command to trigger the compactor and purge data whether or
not the expiry time for recalled data has been reached:
maprcli volume compact -name <volName> -forcerecallexpiry true
Send a request of type POST. For example:
curl -X POST --user <username> 'https://<host>:8443/rest/volume/compact?name=<volName>&forcerecallexpiry=true'
volume compact
.Running the Compactor to Purge Stale Data on the Tier
About this task
Run the following command to trigger the compactor:
maprcli volume compact -name <volName>
Send a request of type POST.
curl -X POST --user <username> 'https://<host>:8443/rest/volume/compact?name=<volName>'
volume compact
.