volume tierjobterminate

Terminates an ongoing offload or recall operation for a volume (specified by name).

Permissions Required

The user running the command must have one of the following:

  • Full control (fc) on the cluster or volume
  • Volume edit permissions

Syntax

CLI
maprcli volume tierjobterminate
	[ -cluster cluster_name ]
	 -name name
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/volume/tierjobterminate?<parameters>

Parameters

Parameter

Description

cluster The name of the cluster on which to run the command.
name The name of the volume.

Example

Stop offloading data to the tier:

/opt/mapr/bin/maprcli volume tierjobterminate -name sampleVol -json
{
        "timestamp":1503504450211,
        "timeofday":"2017-08-23 04:07:30.211 GMT+0000",
        "status":"OK",
        "total":0,
        "data":[

        ],
        "messages":[
                "Successfully started to terminate."
        ]
}
curl -X POST 'https://server.sj.us:8443/rest/volume/tierjobterminate?name=sampleVol' --user <username>:<password>
{"timestamp":1503504450211,"timeofday":"2017-08-23 04:07:30.211 GMT+0000","status":"OK","total":0,"data":[],"messages":["Successfully started to terminate."]}