[ 
https://issues.apache.org/jira/browse/HDFS-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260200#comment-13260200
 ] 

Alejandro Abdelnur commented on HDFS-3314:
------------------------------------------

This was not caught by the compat  test in HttpFS because the WebHdfsFileSystem 
implementation of getHomeDirectory() does not make web service call but 
resolves the value locally -via the default implementation of 
FileSystem.getHomeDirectory().

After adding support for delegation tokens to HttpFS (HDFS-3113, patch coming 
soon), we'll have function parity between HttpFS and WebHdfs, then it will be 
easier to tackle code sharing (HDFS-2645).

                
> HttpFS operation for getHomeDirectory is incorrect
> --------------------------------------------------
>
>                 Key: HDFS-3314
>                 URL: https://issues.apache.org/jira/browse/HDFS-3314
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 3.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 2.0.0
>
>         Attachments: HDFS-3314.patch
>
>
> HttpFS is using GETHOMEDIR when it should be using GETHOMEDIRECTORY based on 
> the WebHdfs HTTP API spec

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to