You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by Sutou Kouhei <ko...@clear-code.com> on 2019/06/28 07:04:16 UTC

0.14.0: Java OrcReaderTest.testOrcJniReader test is failed

Hi,

I'm trying to run dev/release/00-prepare.sh that is the
first script to create RC.

OrcReaderTest.testOrcJniReader test is failed in the script.

Could someone help me?

Error log:

[INFO] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.348 s <<< FAILURE! - in org.apache.arrow.adapter.orc.OrcReaderTest
[INFO] [ERROR] testOrcJniReader(org.apache.arrow.adapter.orc.OrcReaderTest)  Time elapsed: 0.245 s  <<< ERROR!
[INFO] java.io.FileNotFoundException: libarrow_orc_jni.so
[INFO] 	at org.apache.arrow.adapter.orc.OrcReaderTest.testOrcJniReader(OrcReaderTest.java:82)
[INFO] 
[INFO] [INFO] 
[INFO] [INFO] Results:
[INFO] [INFO] 
[INFO] [ERROR] Errors: 
[INFO] [ERROR]   OrcReaderTest.testOrcJniReader:82 ยป FileNotFound libarrow_orc_jni.so
[INFO] [INFO] 
[INFO] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

See also: https://github.com/apache/arrow/pull/4717#issuecomment-506626213


It seems that JNI for C++ ORC isn't found. But it exists in
C++ build directory:

% ls /tmp/apache-arrow-cpp.vyQ8Q/src/jni/orc/
CMakeFiles
CTestTestfile.cmake
cmake_install.cmake
generated
java
libarrow_orc_jni.so
libarrow_orc_jni.so.14
libarrow_orc_jni.so.14.0.0

See
https://github.com/apache/arrow/commit/04e4fc19b85b9550cc2697e347db48e928485b56
how to build C++.


Thanks,
--
kou