[ 
https://issues.apache.org/jira/browse/HIVE-4443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770610#comment-13770610
 ] 

Hudson commented on HIVE-4443:
------------------------------

FAILURE: Integrated in Hive-trunk-h0.21 #2339 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/2339/])
HIVE-4443: [HCatalog] Have an option for GET queue to return all job 
information in single call (Daniel Dai via Thejas Nair) (thejas: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1524232)
* 
/hive/trunk/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/JobItemBean.java
* 
/hive/trunk/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Main.java
* 
/hive/trunk/hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/Server.java

                
> [HCatalog] Have an option for GET queue to return all job information in 
> single call 
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-4443
>                 URL: https://issues.apache.org/jira/browse/HIVE-4443
>             Project: Hive
>          Issue Type: Improvement
>          Components: HCatalog
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4443-1.patch, HIVE-4443-2.patch, HIVE-4443-3.patch, 
> HIVE-4443-4.patch
>
>
> Currently do display a summary of all jobs, one has to call GET queue to 
> retrieve all the jobids and then call GET queue/:jobid for each job. It would 
> be nice to do this in a single call.
> I would suggest:
> * GET queue - mark deprecate
> * GET queue/<jobID> - mark deprecate
> * DELETE queue/<jobID> - mark deprecate
> * GET jobs - return the list of JSON objects jobid but no detailed info
> * GET jobs/fields=* - return the list of JSON objects containing detailed Job 
> info
> * GET jobs/<jobID> - return the single JSON object containing the detailed 
> Job info for the job with the given ID (equivalent to GET queue/<jobID>)
> * DELETE jobs/<jobID> - equivalent to DELETE queue/<jobID>
> NO PRECOMMIT TESTS 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to