You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Dali Susanibar Arce (Jira)" <ji...@apache.org> on 2022/09/08 00:32:00 UTC

[jira] [Commented] (ARROW-17404) [Java] Consolidate JNI compilation #2

    [ https://issues.apache.org/jira/browse/ARROW-17404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17601560#comment-17601560 ] 

David Dali Susanibar Arce commented on ARROW-17404:
---------------------------------------------------

Hi [~kou] I am trying to build JNI locally. Able to build Arrow JNI gandiva/orc, but when try to run:

````cmake \
-S java \
-B java-jni \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=java-dist/lib \
-DCMAKE_PREFIX_PATH=java-dist

````

I am seeing messages like this

````

CMake Error at CMakeLists.txt:60 (find_package):
  By not providing "FindArrowTesting.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "ArrowTesting", but CMake did not find one.

  Could not find a package configuration file provided by "ArrowTesting" with
  any of the following names:

    ArrowTestingConfig.cmake
    arrowtesting-config.cmake

  Add the installation prefix of "ArrowTesting" to CMAKE_PREFIX_PATH or set
  "ArrowTesting_DIR" to a directory containing one of the above files.  If
  "ArrowTesting" provides a separate development package or SDK, be sure it
  has been installed.

````

Is there some steps missing on building.rst file?

> [Java] Consolidate JNI compilation #2
> -------------------------------------
>
>                 Key: ARROW-17404
>                 URL: https://issues.apache.org/jira/browse/ARROW-17404
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Documentation, Java
>            Reporter: David Dali Susanibar Arce
>            Assignee: David Dali Susanibar Arce
>            Priority: Major
>
> *Umbrella ticket for consolidating Java JNI compilation initiative #2*
> Initial part of consolidate JNI Java initiative was: Consolidate ORC/Dataset code and Separate JNI CMakeLists.txt compilation.
> This 2nd part consist on:
> 1.- Make the Java library able to compile with a single mvn command
> 2.- Make Java library able to compile from an installed libarrow
> 3.- Migrate remaining C++ CMakeLists.txt specific to Java into the Java project: ORC / Dataset / Gandiva
> 4.- Add windows build script that produces DLLs
> 5.- Incorporate Windows DLLs into the maven packages
> 6.- Migrate ORC JNI to use C-Data-Interface



--
This message was sent by Atlassian Jira
(v8.20.10#820010)