hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5031) [WebHCat] GET job/:jobid to return userargs for a job in addtion to status information
Date Mon, 23 Dec 2013 11:36:51 GMT

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

Lefty Leverenz commented on HIVE-5031:
--------------------------------------

Documented in the wiki for GET jobs (fields parameter).  The userargs were already included
in the output for GET jobs/:jobid so no changes were made.  Patch 5 shows doc changes to queue.xml
which is for GET queue/:jobid so I added userargs there with extra whitespace to match the
rest of the JSON output, but didn't add userargs in GET queue because it doesn't have any
of the status information.

* [GET jobs, JSON output (fields, Hive 0.12)|https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+Jobs#WebHCatReferenceJobs-JSONOutput(fields,Hive0.12.0andlater)]
-- userargs added
* [GET jobs/:jobid, JSON output|https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+Job#WebHCatReferenceJob-JSONOutput]
-- no change
* [GET queue/:jobid, JSON output (Hive 0.12)|https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+JobInfo#WebHCatReferenceJobInfo-JSONOutput(Hive0.12.0andlater)]
-- userargs added
* [GET queue, JSON output|https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+JobIDs#WebHCatReferenceJobIDs-JSONOutput]
-- no change

Question:  why are all the JSON outputs enclosed in square brackets for GET jobs, but not
for GET jobs/:jobid or queue or queue/:jobid, or any others?

> [WebHCat] GET job/:jobid to return userargs for a job in addtion to status information
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-5031
>                 URL: https://issues.apache.org/jira/browse/HIVE-5031
>             Project: Hive
>          Issue Type: Improvement
>          Components: HCatalog
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.12.0
>
>         Attachments: HIVE-5031-1.patch, HIVE-5031-2.patch, HIVE-5031-3.patch, HIVE-5031-4.patch,
HIVE-5031-5.patch
>
>
> It would be nice to also have any user args that were passed into job creation API including
job type specific information (e.g. mapreduce libjars)
> NO PRECOMMIT TESTS



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message