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

Joris Van den Bossche closed ARROW-12839.
-----------------------------------------
    Resolution: Not A Problem

> [Python] ImportError: The pyarrow installation is not built with support for 
> 'HadoopFileSystem'
> -----------------------------------------------------------------------------------------------
>
>                 Key: ARROW-12839
>                 URL: https://issues.apache.org/jira/browse/ARROW-12839
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 4.0.0
>            Reporter: Armin Müller
>            Priority: Major
>
> Tried to install pyarrow with
> {noformat}
> python3.7 -m pip install hdfs pyarrow=4.00{noformat}
> which gave me this
> {noformat}
> CMake Error at 
> /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 
> (message):
>  Could NOT find ArrowPython (missing: ARROW_PYTHON_INCLUDE_DIR
>  ARROW_PYTHON_LIB_DIR) (found version "4.0.0"){noformat}
> so I installed the C++ libs as listed on [https://arrow.apache.org/install/]
> With that I was able to run the above pip install w/o errors but now an
> {noformat}
> hdfs = fs.HadoopFileSystem('namenode', 8020){noformat}
> throws an
> {noformat}
> ImportError: The pyarrow installation is not built with support for 
> 'HadoopFileSystem'{noformat}
> I do have hadoop installed in that container, HADOOP_HOME and CLASSPATH is 
> set and I have found some
> {code:java}
> /usr/include/arrow/filesystem/hdfs.h
> /usr/include/arrow/io/hdfs.h 
> {code}
> in this container.
> What am I missing?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to