Home

YARN resource manager endpoints

/yarn_rm/kill_app

Gets the status code for a killed YARN app.

Request
GET http://unravel-host:3000/api/v1/yarn_rm/move_app?clusterid={cluster_id}&appid={app_id}&queue={queue_name}
Path parameters

None.

Query parameters

Required parameters are highlighted.

Name

Type

Description

Cluster Id

string

Cluster ID. Required.

appid

string

App ID. Required.

Response body

Name

Type

Description

duration

integer

avgDuration

integer

user

string

name

string

Examples

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.

Request
GET http://unravel-host:3000/api/api/v1/yarn_rm/move_app?clusterid={cluster_id}&appid={app_id}&queue={queue_name}
Path parameters

None.

Query parameters

Name of the cluster on which the AutoAction occurred.

Name

Type

Description

clusterid

string

Cluster ID.

appid

string

App ID.

queue

string

Queue name.

Response body

Name

Type

Description

duration

integer

avgDuration

integer

user

string

name

string

Examples

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