You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

curl -u admin:admin -i -H 'X-Requested-By: ambari' -X PUT -d '{
   "Requests":{"request_status":"ABORTED","abort_reason":"Aborted by user"}
}' http://localhost:8080/api/v1/clusters/$CLUSTER_NAME/requests/$REQUEST_ID

Note that this currently does not work for aborting logical requests created from Blueprint API calls (as of Ambari 2.1.2). 

  • No labels