[ https://issues.apache.org/jira/browse/HIVE-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741827#comment-13741827 ]
Thejas M Nair commented on HIVE-4441: ------------------------------------- In addUserHomeDirectoryIfApplicable, I think it will be better to use DistributedFileSystem. getHomeDirectory() instead of ""/user/" + user + ". Otherwise, looks good. There seems to be an inconsistency in the username used in hadoopFsPath(). So far the user param in it has been ignored, and loginuser is used instead. But I think we can address that in a separate followup jira. > [HCatalog] WebHCat does not honor user home directory > ----------------------------------------------------- > > Key: HIVE-4441 > URL: https://issues.apache.org/jira/browse/HIVE-4441 > Project: Hive > Issue Type: Bug > Components: HCatalog > Reporter: Daniel Dai > Attachments: HIVE-4441-1.patch, HIVE-4441-2.patch, HIVE-4441-3.patch > > > 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: > {code}curl -s -d user.name=hdinsightuser -d execute="show+tables;" -d > statusdir="pokes.output" 'http://localhost:50111/templeton/v1/hive'{code} > I get the results under: > {code}/user/hdp/pokes.output{code} > And I expect them to be under: > {code}/user/hdinsightuser/pokes.output{code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira