List JobIDs — GET queue
Table of Contents |
---|
Description
Return a list of all job IDs registered to the user.
Info | ||
---|---|---|
| ||
|
Warning | ||
---|---|---|
| ||
|
URL
http://
www.myserver.com/templeton/v1/queue
Parameters
Name | Description | Required? | Default |
---|---|---|---|
showall | If showall is set to "true", then the request will return all jobs the user has permission to view, not only the jobs belonging to the user. This parameter is not available in releases prior to Hive 0.12.0. (See HIVE-4442.) | Optional in Hive 0.12.0+ | false |
The standard parameters are also Only the standard parameters are accepted.
Results
Name | Description |
---|---|
ids | A list of all job IDs registered either belonging to the user, or (Hive 0.12.0 and later) job IDs the user has permission to view if showall is true. |
Example
Curl Command
No Format |
---|
% curl -s 'http://localhost:50111/templeton/v1/queue?user.name=ctdean'
|
JSON Output
No Format |
---|
{
"job_201111111311_0008",
"job_201111111311_0012"
}
|
...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Previous: POST hive General: WebHCat Reference – WebHCat (Templeton) Manual – HCatalog Manual – Hive Wiki Home Replaced in Hive 0.12.0 by:GET jobs |