Terminating a Running File-Level Tiering Job
Explains how to terminate file tiering jobs using the Control System and the CLI.
About this task
You can terminate an ongoing offload or recall of a file using the CLI. Terminating a running:
- Offload operation does not prevent future offloads; if a schedule is associated
with the volume, data that is still on the cluster is automatically offloaded
based on the rules as per schedule. You can also manually offload data again at
any time by running the
file offload
orhadoop mfs
command. - Recall operation does not prevent future recalls; you can run the recall command again to recall the remaining data on the tier. Based on the expiry time set on the volume (associated with the recalled data), recalled data is offloaded if there are changes or purged if there are no changes. See Recalling a Volume to file system for more information.
For information on terminating a running offload or recall operation using (loopbacknfs or FUSE-based) POSIX or NFS clients when maprcli or hadoop commands are not available, see Running Tiering Commands when maprcli and hadoop Commands are not Available. For information on terminating a running volume-level job, see Terminating a Running Volume-Level Tiering Job.
Terminating a Running File-Level Offload or Recall Operation Using the CLI and REST API
About this task
Run the following command to terminate a currently running file-level
offload or recall operation:
maprcli file tierjobterminate -name <filePath>
For more information, see
file tierjobterminate
.Send a request of type POST. For example:
curl -X POST 'https://<host>:8443/rest/file/tierjobterminate?name=<filePath>' --user <username>:<password>