Manual Eviction by Free Command
Cache Free Overview
The free operation provides options to force data eviction to manually manage cache space.
Freeing Cache Space via Command Line
Usage: bin/alluxio job free [flags]
Operate a free job:
$ {ALLUXIO_HOME}/bin/alluxio job free --path s3://bucket/path --[submit|progress|stop]
$ {ALLUXIO_HOME}/bin/alluxio job free --local-index-file /indexfile --[submit|progress|stop]
$ {ALLUXIO_HOME}/bin/alluxio job free --ufs-index-file s3://bucket/indexfile --[submit|progress|stop]View the progress a free job:
$ {ALLUXIO_HOME}/bin/alluxio job free --path s3://alluxio/path --progress
Progress for Free path file 's3://alluxio/path':
Job Id: b21ce9fb-f332-4d39-8bb4-554f9a4fa601
Job Submitted: Fri Feb 02 21:28:56 CST 2024
Job path: s3://alluxio/path
Job State: SUCCEEDED, finished at Fri Feb 02 21:29:01 CST 2024
Free Info : totalFile:4 totalByte:3072.00KB
Free Files Failed: 0
Free Bytes Failed: 0B
Free Files Succeeded: 4
Free Bytes Succeeded: 3072.00KBStop and interrupt a running free job: Note this will leave some files remaining in the cache
Freeing Cache Space via REST API
Please refer to the API reference page for more details.
Note that the list results only include free tasks within seven days. The residence time of historical tasks can be configured through alluxio.job.retention.time.
Last updated