You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2021/05/17 14:11:00 UTC

[jira] [Updated] (ARROW-12790) [Python] Cannot read from HDFS with blanks in path names

     [ https://issues.apache.org/jira/browse/ARROW-12790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joris Van den Bossche updated ARROW-12790:
------------------------------------------
    Labels: filesystem hdfs  (was: )

> [Python] Cannot read from HDFS with blanks in path names
> --------------------------------------------------------
>
>                 Key: ARROW-12790
>                 URL: https://issues.apache.org/jira/browse/ARROW-12790
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 4.0.0
>            Reporter: Armin Müller
>            Priority: Critical
>              Labels: filesystem, hdfs
>
> I have a Hadoop FS with blanks in path and filenames.
> Running this
> {{hdfs = fs.HadoopFileSystem('namenode', 8020)}}
> {{files = hdfs.get_file_info(fs.FileSelector("/", recursive=True))}}
> throws a
> {{pyarrow.lib.ArrowInvalid: Cannot parse URI: 'hdfs://namenode:8020/data/Path with Blank'}}
> How can I avoid that?
> Strangely enough, reading a file with
> {{hdfs.open_input_file(csv_file)}}
> works just fine regardless of the blanks?



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