[
https://issues.apache.org/jira/browse/HDFS-3620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562938#comment-13562938
]
Tsz Wo (Nicholas), SZE commented on HDFS-3620:
----------------------------------------------
I disagree that WebHdfsFileSystem should make a HTTP call since it is
unnecessary. It is supposed to talk to HDFS and the home directory returned is
correct. If it makes a HTTP call, it will slow down the performance.
> WebHdfsFileSystem getHomeDirectory() should not resolve locally
> ---------------------------------------------------------------
>
> Key: HDFS-3620
> URL: https://issues.apache.org/jira/browse/HDFS-3620
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: webhdfs
> Affects Versions: 1.0.3, 2.0.0-alpha
> Reporter: Alejandro Abdelnur
> Priority: Critical
>
> WebHdfsFileSystem getHomeDirectory() method it is hardcoded to return
> '/user/' + UGI#shortname. Instead, it should make a HTTP REST call with
> op=GETHOMEDIRECTORY.
--
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