volume tierjobabort

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 tierjobabort
	[ -cluster cluster_name ]
	 -name name
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/volume/tierjobabort?<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 tierjobabort -name sampleVol -json
{
        "timestamp":1503504450211,
        "timeofday":"2017-08-23 04:07:30.211 GMT+0000",
        "status":"OK",
        "total":0,
        "data":[

        ],
        "messages":[
                "Successfully started to abort."
        ]
}
curl -k -X POST 'https://abc.sj.us:8443/rest/volume/tierjobabort?name=sampleVol' --user mapr:mapr
{"timestamp":1503504450211,"timeofday":"2017-08-23 04:07:30.211 GMT+0000","status":"OK","total":0,"data":[],"messages":["Successfully started to abort."]}