YARN resource manager endpoints
/yarn_rm/kill_app
Gets the status code for a killed YARN app.
GET http://unravel-host
:3000/api/v1/yarn_rm/move_app?clusterid={cluster_id}&appid={app_id}&queue={queue_name}
None.
Required parameters are highlighted
.
Name | Type | Description |
---|---|---|
| string | Cluster ID. Required. |
| string | App ID. Required. |
Name | Type | Description |
---|---|---|
| integer | |
| integer | |
| string | |
| string |
Request:
curl -X GET "http://myserver.com:3000/api/v1/yarn_rm/kill_app?clusterid=clusterid=ignite1&appid=application_1550764666755_0668" -H "accept: application/json" -H "Authorization: JWT token
"
Response:
200
/yarn_rm/move_app
Gets the status code for a moved YARN app.
GET http://unravel-host
:3000/api/api/v1/yarn_rm/move_app?clusterid={cluster_id}&appid={app_id}&queue={queue_name}
None.
Name of the cluster on which the AutoAction occurred.
Name | Type | Description |
---|---|---|
| string | Cluster ID. |
| string | App ID. |
| string | Queue name. |
Name | Type | Description |
---|---|---|
| integer | |
| integer | |
| string | |
| string |
Request:
curl -X GET "http://myserver.com:3000/api/v1/yarn_rm/move_app?clusterid=ignite1&appid=application_1550764666755_0668&queue=root.users.root" -H "accept: application/json" -H "Authorization: JWT token
"
Response:
200