You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Armin Müller (Jira)" <ji...@apache.org> on 2021/05/14 11:07:00 UTC
[jira] [Created] (ARROW-12790) [Python] Cannot read from HDFS with
blanks in path names
Armin Müller created ARROW-12790:
------------------------------------
Summary: [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
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)