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

[HCatalog] WebHCat does not honor user home directory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: HCatalog
    • Labels:
      None
    • Hadoop Flags:
      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-1.patch
          3 kB
          Jianyong Dai
        2. HIVE-4441-2.patch
          4 kB
          Jianyong Dai
        3. HIVE-4441-3.patch
          4 kB
          Jianyong Dai
        4. HIVE-4441-4.patch
          4 kB
          Jianyong Dai

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: