Stop Queue

Run the following to stop a queue.

Request URL


Request Body

  "properties": [{ "name": "state", "value": "STOPPED" }],
  "message": "Stopped <path-to-the-queue>"

Example Request

curl -v -X PUT -b cookie.txt --key cm-auto-host_key_decrypted.pem --cert cm-auto-host_cert_chain.pem --cacert cm-auto-global_cacerts.pem -H "Referer: https://<cm_host>:7183/cmf/clusters/Cluster%201/queue-manager/" -d @request.json

The above example stops the samplequeue queue placed under the root queue.

Parameter Description
cm_host Cloudera Manager host address
Cluster-id Name of the cluster
path-to-the-queue Path to the queue with the queue name