DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
The State REST API uses the GET /api/state HTTP method and URI to retrieve a snapshot of the Myriad Scheduler state including pending, staging, active, and killable tasks.
HTTP Method and URI
GET /api/state
Syntax
<resource_manager_host>:8192/api/state
Request Example
URL request example:
http://10.10.100.19:8192/api/state
Curl request example:
curl http://10.10.100.19:8192/api/state | python -m json.tool
Request header:
GET /api/state HTTP/1.1 Host: 10.10.100.19:8192 Connection: keep-alive Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 Accept-Encoding: gzip, deflate, sdch Accept-Language: en-US,en;q=0.8
Response Example
{
"activeTasks": [],
"killableTasks": [],
"pendingTasks": [
"nm.medium.ea564a5b-3a77-47dc-a7fe-2ff88ae2d5ed"
],
"stagingTasks": []
}