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

Andrew Wang commented on HDFS-10823:
------------------------------------

I asked Tucu about this offline, and he told me it's because HttpFS was 
designed to front any arbitrary FileSystem (but exposing WebHDFS). I haven't 
heard of anyone using it except as an HDFS gateway though, so I think this is 
an uncommon usecase. There's also an API impedance mismatch, since WebHDFS was 
designed for REST access to HDFS, not as a REST API for generic FileSystem 
access.

But, without a large overhaul of the HttpFS codebase, I don't think it's 
something we're going to address here. I'll try the subclassing hack to at 
least make the new FileSystem method protected rather than public. Better 
alternatives welcomed.

> Implement HttpFSFileSystem#listStatusIterator
> ---------------------------------------------
>
>                 Key: HDFS-10823
>                 URL: https://issues.apache.org/jira/browse/HDFS-10823
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: httpfs
>    Affects Versions: 2.6.4
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>
> Let's expose the same functionality added in HDFS-10784 for WebHDFS in HttpFS 
> too.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to