Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62A0B106F2 for ; Tue, 3 Sep 2013 23:53:52 +0000 (UTC) Received: (qmail 2278 invoked by uid 500); 3 Sep 2013 23:53:52 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 2204 invoked by uid 500); 3 Sep 2013 23:53:51 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 2196 invoked by uid 500); 3 Sep 2013 23:53:51 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 2193 invoked by uid 99); 3 Sep 2013 23:53:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 23:53:51 +0000 Date: Tue, 3 Sep 2013 23:53:51 +0000 (UTC) From: "Eugene Koifman (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4443) [HCatalog] Have an option for GET queue to return all job information in single call MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757266#comment-13757266 ] Eugene Koifman commented on HIVE-4443: -------------------------------------- [~daijy] are you sure the 2nd patch is properly generated? The first one has tests added but not the 2nd one. > [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 > Attachments: HIVE-4443-1.patch, HIVE-4443-2.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/ - mark deprecate > * DELETE queue/ - 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/ - return the single JSON object containing the detailed Job info for the job with the given ID (equivalent to GET queue/) > * DELETE jobs/ - equivalent to DELETE queue/ -- 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