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

WebHCat should have an option to return a result instead of jobId

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: WebHCat
    • Labels:
      None

      Description

      the following command should have an option to get result of the hive query rather than saving output to hdfs

      curl -s -d execute="select+*+from+sample_08;" \
      -d statusdir="outputofthejob" \
      'http://localhost:50111/templeton/v1/hive?user.name=root'

      this currently returns jobid in JSON format, it would be nice to get the actual result as part of JSON.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dbist13 Artem Ervits
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: