Skip to content

pyarrow.lib.ArrowIOError: Unable to load libjvm #1437

@jurgispods

Description

@jurgispods

Hi,

I tried installing pyarrow under Cloudera CDH 5.12.1 and running this minimal script:

python
>>> import pyarrow as pa
>>> fs = pa.hdfs.connect("localhost", 50070, user="me")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/pyarrow/hdfs.py", line 170, in connect
    kerb_ticket=kerb_ticket, driver=driver)
  File "/usr/lib64/python2.7/site-packages/pyarrow/hdfs.py", line 37, in __init__
    self._connect(host, port, user, kerb_ticket, driver)
  File "pyarrow/io-hdfs.pxi", line 79, in pyarrow.lib.HadoopFileSystem._connect (/arrow/python/build/temp.linux-x86_64-2.7/lib.cxx:61546)
  File "pyarrow/error.pxi", line 79, in pyarrow.lib.check_status (/arrow/python/build/temp.linux-x86_64-2.7/lib.cxx:8345)
pyarrow.lib.ArrowIOError: Unable to load libjvm

Some env info:

  • HADOOP_HOME and JAVA_HOME are correctly set
  • $JAVA_HOME/lib/amd64/server contains the file libjvm.so

Any help is appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions