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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.1
    • None
    • WebHCat
    • 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

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

            Dates

              Created:
              Updated: