Running the Compactor Using the CLI and REST API
You can trigger the compactor using the CLI and REST API to purge recalled data on the MapR cluster or to purge stale data on the tier. See Data Compaction for more information.
Running the Compactor to Purge Recalled Data on the MapR Cluster
maprcli volume compact -name <volName> -forcerecallexpiry true
curl -k -X POST 'https://<host>:8443/rest/volume/compact?name=<volName>&forcerecallexpiry=true' --user mapr:mapr
volume compact
.Running the Compactor to Purge Stale Data on the Tier
maprcli volume compact -name <volName>
curl -k -X POST 'https://<host>:8443/rest/volume/compact?name=<volName>' --user mapr:mapr
volume compact
.