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

Fabian Höring edited comment on ARROW-7309 at 12/5/19 5:26 PM:
---------------------------------------------------------------

Updated the PR to also include viewfs support to the c++ fs. Please review.
I kept the changes in Python  `resolve_filesystem_and_path` as this is directly 
usable and make the new Fs compliant to the old API/update doc, .. may probably 
take some time.


was (Author: fhoering):
Updated the PR to also include viewfs support to the c++ fs. Please review.
I kept the changes in Python  `resolve_filesystem_and_path` as this is directly 
usable and make the new Fs compliant to the old API/update doc, .. may take 
some time.

> [Python] Support HDFS federation viewfs://
> ------------------------------------------
>
>                 Key: ARROW-7309
>                 URL: https://issues.apache.org/jira/browse/ARROW-7309
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>    Affects Versions: 0.15.1
>            Reporter: Fabian Höring
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> - Add viewfs support to pyarrow.filesystem.resolve_filesystem_and_path
> -  libhdfs already supports injecting the scheme and will automatically 
> resolve federation in
>     fs = FileSystem#get(URI, conf, ugi)
> -  works with Hadoop 2/3
> see:
> https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c#L770
> https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c#L637



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to