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

Alejandro Abdelnur commented on HDFS-2316:
------------------------------------------

Nicholas,

On #1, sorry don't agree, you are referring to HTTP/1.1 headers. We are talking 
about URLs here, except for scheme and host everything else should case 
sensitive. Milind has also stated his opinion on this in favor of case 
sensitive. Again, this is by spec; still the implementation could be lenient.

On #2, if we go for types, then GETHOMEDIRECTORY uses { "Path" : "<PATH>" }, 
using similar reasoning GETDELEGATIONTOKEN  should return { "Token" : "<TOKEN>" 
} (you are skipping the field name of the structure type as the token seems to 
treated as an opaque value).

On #3, "symlink" is fine

On #4, then we should state in the parameter 'permission' that is a String with 
valid values being a 3 digits octal number or '[0-7][0-7][0-7]'.

On #5, if the Token is to be decoded/parsed by a client in any way, it should 
be stated, independent of Hadoop how to do the decoding.

Thanks.




                
> webhdfs: a complete FileSystem implementation for accessing HDFS over HTTP
> --------------------------------------------------------------------------
>
>                 Key: HDFS-2316
>                 URL: https://issues.apache.org/jira/browse/HDFS-2316
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: WebHdfsAPI20111020.pdf, WebHdfsAPI20111103.pdf, 
> WebHdfsAPI20111111.pdf, test-webhdfs, test-webhdfs-0.20s
>
>
> We current have hftp for accessing HDFS over HTTP.  However, hftp is a 
> read-only FileSystem and does not provide "write" accesses.
> In HDFS-2284, we propose to have webhdfs for providing a complete FileSystem 
> implementation for accessing HDFS over HTTP.  The is the umbrella JIRA for 
> the tasks.

--
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