davisusanibar commented on issue #39919:
URL: https://github.com/apache/arrow/issues/39919#issuecomment-1935337091

   > 
https://github.com/ursacomputing/crossbow/releases/tag/actions-f7a2fd829d-github-java-jars
   
   The java jar version you provided worked as expected (actions-f7a2fd829d).
   
   Steps to reproduce - Error:
   ````
   - git clone https://github.com/davisusanibar/dataset-error-linux-env.git
   - git checkout test-with-nightly-version
   - mvn compile exec:java -Dexec.mainClass="dataset.TestMe" 
-Dmaven.compiler.target=8 -Dmaven.compiler.source=8
   ...
   java.lang.UnsatisfiedLinkError: /tmp/jnilib-15652094898310480780.tmp: 
/tmp/jnilib-15652094898310480780.tmp: undefined symbol: 
_ZTIN6google8protobuf7MessageE
   ...
   ````
   
   Steps to reproduce - Fix: 
https://github.com/ursacomputing/crossbow/releases/tag/actions-f7a2fd829d-github-java-jars
   ````
   - git clone https://github.com/davisusanibar/dataset-error-linux-env.git
   - git checkout test-with-nightly-version
   - rm -rf ~/.m2/repository/org/apache/arrow/arrow-dataset/16.0.0-SNAPSHOT
   - wget 
https://github.com/ursacomputing/crossbow/releases/download/actions-f7a2fd829d-github-java-jars/arrow-dataset-16.0.0-SNAPSHOT.pom
   - wget 
https://github.com/ursacomputing/crossbow/releases/download/actions-f7a2fd829d-github-java-jars/arrow-dataset-16.0.0-SNAPSHOT.jar
   - mvn install:install-file -Dfile="$(pwd)/arrow-dataset-16.0.0-SNAPSHOT.pom" 
-DgroupId=org.apache.arrow -DartifactId=arrow-dataset -Dversion=16.0.0-SNAPSHOT 
-Dpackaging=pom
   - mvn install:install-file -Dfile="$(pwd)/arrow-dataset-16.0.0-SNAPSHOT.jar" 
-DgroupId=org.apache.arrow -DartifactId=arrow-dataset -Dversion=16.0.0-SNAPSHOT 
-Dpackaging=jar
   - mvn compile exec:java -Dexec.mainClass="dataset.TestMe" 
-Dmaven.compiler.target=8 -Dmaven.compiler.source=8
   
   n_nationkey  n_name  n_regionkey     n_comment
   0    ALGERIA 0        haggle. carefully final deposits detect slyly agai
   1    ARGENTINA       1       al foxes promise slyly according to the regular 
accounts. bold requests alon
   ...
   ````
   
   Also aarch_64/libarrow_dataset_jni.so - protobuf changed from U to V:
   ````
   - wget 
https://github.com/ursacomputing/crossbow/releases/download/actions-f7a2fd829d-github-java-jars/arrow-dataset-16.0.0-SNAPSHOT.jar
 
   - unzip arrow-dataset-16.0.0-SNAPSHOT.jar
   - nm arrow_dataset_jni/aarch_64/libarrow_dataset_jni.so | grep 
ZTIN6google8protobuf7Messag
   000000000302df98 V _ZTIN6google8protobuf7MessageE
   ````


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to