You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/21 12:07:09 UTC
[GitHub] [arrow] xiongma opened a new issue, #14686: OSError: Unable to load libjvm: /usr/java/latest//lib/amd64/server/libjvm.so
xiongma opened a new issue, #14686:
URL: https://github.com/apache/arrow/issues/14686
```
from pyarrow import fs
hdfs, _ = fs.FileSystem.from_uri('hdfs://haruna')
```
when i use this type of code to create a connect, it raise this error
```
hdfs, _ = fs.FileSystem.from_uri('hdfs://haruna')
File "pyarrow/_fs.pyx", line 463, in pyarrow._fs.FileSystem.from_uri
File "pyarrow/error.pxi", line 144, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 115, in pyarrow.lib.check_status
OSError: Unable to load libjvm: /usr/java/latest//lib/amd64/server/libjvm.so: cannot open shared object file: No such file or directory
```
environments
```
export JAVA_HOME=/opt/tiger/jdk/jdk8u265-b01
export HADOOP_HOME=/opt/tiger/yarn_deploy/hadoop
export CLASSPATH=`/opt/tiger/yarn_deploy/hadoop/bin/hadoop classpath --glob`
export LD_LIBRARY_PATH=/opt/tiger/yarn_deploy/hadoop/lib/native/
export LIBHDFS_OPTS='-Dhadoop.root.logger=INFO,console'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou commented on issue #14686: [Python] OSError: Unable to load libjvm: /usr/java/latest//lib/amd64/server/libjvm.so
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #14686:
URL: https://github.com/apache/arrow/issues/14686#issuecomment-1408139540
`ls -lah /usr/lib/jvm/`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] Hayder-Aziz-cardano commented on issue #14686: [Python] OSError: Unable to load libjvm: /usr/java/latest//lib/amd64/server/libjvm.so
Posted by "Hayder-Aziz-cardano (via GitHub)" <gi...@apache.org>.
Hayder-Aziz-cardano commented on issue #14686:
URL: https://github.com/apache/arrow/issues/14686#issuecomment-1408126227
/usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou commented on issue #14686: [Python] OSError: Unable to load libjvm: /usr/java/latest//lib/amd64/server/libjvm.so
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #14686:
URL: https://github.com/apache/arrow/issues/14686#issuecomment-1408147983
Could you try `export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou commented on issue #14686: OSError: Unable to load libjvm: /usr/java/latest//lib/amd64/server/libjvm.so
Posted by GitBox <gi...@apache.org>.
kou commented on issue #14686:
URL: https://github.com/apache/arrow/issues/14686#issuecomment-1323258280
Could you show the output of `find /opt/tiger/jdk/jdk8u265-b01 -name 'libjvm.so'`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou commented on issue #14686: [Python] OSError: Unable to load libjvm: /usr/java/latest//lib/amd64/server/libjvm.so
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #14686:
URL: https://github.com/apache/arrow/issues/14686#issuecomment-1408137939
`echo ${JAVA_HOME}`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] Hayder-Aziz-cardano commented on issue #14686: [Python] OSError: Unable to load libjvm: /usr/java/latest//lib/amd64/server/libjvm.so
Posted by "Hayder-Aziz-cardano (via GitHub)" <gi...@apache.org>.
Hayder-Aziz-cardano commented on issue #14686:
URL: https://github.com/apache/arrow/issues/14686#issuecomment-1408143825
echo ${JAVA_HOME}
/usr/lib/jvm/java-17-openjdk-amd64/lib/
ls -lah /usr/lib/jvm/
total 16K
drwxr-xr-x 3 root root 4.0K Jan 27 11:42 .
drwxr-xr-x 71 root root 4.0K Jan 27 11:42 ..
-rw-r--r-- 1 root root 1.8K Oct 24 13:44 .java-1.17.0-openjdk-amd64.jinfo
lrwxrwxrwx 1 root root 21 Oct 24 13:44 java-1.17.0-openjdk-amd64 -> java-17-openjdk-amd64
drwxr-xr-x 7 root root 4.0K Jan 27 11:42 java-17-openjdk-amd64
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou commented on issue #14686: [Python] OSError: Unable to load libjvm: /usr/java/latest//lib/amd64/server/libjvm.so
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #14686:
URL: https://github.com/apache/arrow/issues/14686#issuecomment-1407121948
Could you show the output of `find ${JAVA_HOME} -name 'libjvm.so'`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] Hayder-Aziz-cardano commented on issue #14686: OSError: Unable to load libjvm: /usr/java/latest//lib/amd64/server/libjvm.so
Posted by "Hayder-Aziz-cardano (via GitHub)" <gi...@apache.org>.
Hayder-Aziz-cardano commented on issue #14686:
URL: https://github.com/apache/arrow/issues/14686#issuecomment-1406410075
same issue here. Its not picking up the correct libjvm location despite java_home being correctly set.
also its linking to a location with double // between latest and lib above.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org