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

[HCatalog] WebHCat does not honor user home directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • HCatalog
    • None
    • Reviewed

    Description

      If I submit a job as user "A" and I specify statusdir as a relative path, I would expect results to be stored in the folder relative to the user A's home folder.

      For example, if I run:

      curl -s -d user.name=hdinsightuser -d execute="show+tables;" -d statusdir="pokes.output" 'http://localhost:50111/templeton/v1/hive'

      I get the results under:

      /user/hdp/pokes.output

      And I expect them to be under:

      /user/hdinsightuser/pokes.output

      Attachments

        1. HIVE-4441-4.patch
          4 kB
          Daniel Dai
        2. HIVE-4441-3.patch
          4 kB
          Daniel Dai
        3. HIVE-4441-2.patch
          4 kB
          Daniel Dai
        4. HIVE-4441-1.patch
          3 kB
          Daniel Dai

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: