Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4443

[HCatalog] Have an option for GET queue to return all job information in single call

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: HCatalog
    • Labels:
      None

      Description

      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

        Attachments

        1. HIVE-4443-4.patch
          6 kB
          Daniel Dai
        2. HIVE-4443-3.patch
          6 kB
          Daniel Dai
        3. HIVE-4443-2.patch
          6 kB
          Daniel Dai
        4. HIVE-4443-1.patch
          14 kB
          Daniel Dai

          Issue Links

            Activity

              People

              • Assignee:
                daijy Daniel Dai
                Reporter:
                daijy Daniel Dai
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: