List JobIDs — GET queue
Description
Return a list of all job IDs.
Version: Deprecated in 0.12.0
GET queue
is deprecated starting in Hive release 0.12.0. Users are encouraged to use GET jobs
instead.
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. |
Optional |
false |
The standard parameters are also accepted.
Results
Name |
Description |
---|---|
ids |
A list of all job IDs 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
% curl -s 'http://localhost:50111/templeton/v1/queue?user.name=ctdean'
JSON Output
{ "job_201111111311_0008", "job_201111111311_0012" }
Previous: POST hive
Next: GET queue/:jobid
General: WebHCat Reference – WebHCat Manual – HCatalog Manual – Hive Wiki Home – Hive Project Site
Old version of this document (HCatalog 0.5.0): GET queue
Replaced in Hive 0.12.0 by: GET jobs