jinchengchenghh commented on issue #8228:
URL: 
https://github.com/apache/incubator-gluten/issues/8228#issuecomment-2556221188

   I also find a problem, our protobuf version is 3.23.4, but arrow 15 protobuf 
version is 2.5.0,
   I update the version in the patch
   
https://github.com/apache/incubator-gluten/blob/main/ep/build-velox/src/modify_arrow_dataset_scan_option.patch#L158
   So it has conflicts, dataset.jni.NativeMemoryPool will throw exception when 
switch to apache arrow 15.0.0:
   ```
   24/12/20 10:38:53 ERROR TaskResources: Task 1 failed by error:
   java.lang.UnsatisfiedLinkError: /tmp/jnilib-2731956626225475599.tmp: 
/tmp/jnilib-2731956626225475599.tmp: undefined symbol: 
_ZTIN6google8protobuf7MessageE
           at java.lang.ClassLoader$NativeLibrary.load(Native Method)
           at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
           at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
           at java.lang.Runtime.load0(Runtime.java:782)
           at java.lang.System.load(System.java:1100)
           at org.apache.arrow.dataset.jni.JniLoader.load(JniLoader.java:92)
           at 
org.apache.arrow.dataset.jni.JniLoader.loadRemaining(JniLoader.java:75)
           at 
org.apache.arrow.dataset.jni.JniLoader.ensureLoaded(JniLoader.java:61)
           at 
org.apache.arrow.dataset.jni.NativeMemoryPool.createListenable(NativeMemoryPool.java:44)
           at 
org.apache.gluten.memory.arrow.pool.ArrowNativeMemoryPool.<init>(ArrowNativeMemoryPool.java:34)
           at 
org.apache.gluten.memory.arrow.pool.ArrowNativeMemoryPool.createArrowNativeMemoryPool(ArrowNativeMemoryPool.java:47)
           at 
org.apache.gluten.memory.arrow.pool.ArrowNativeMemoryPool.lambda$arrowPool$0(ArrowNativeMemoryPool.java:42)
           at 
org.apache.spark.task.TaskResourceRegistry.$anonfun$addResourceIfNotRegistered$1(TaskResources.scala:344)
           at 
org.apache.spark.task.TaskResourceRegistry.lock(TaskResources.scala:264)
           at 
org.apache.spark.task.TaskResourceRegistry.addResourceIfNotRegistered(TaskResources.scala:340)
           at 
org.apache.spark.task.TaskResources$.addResourceIfNotRegistered(TaskResources.scala:176)
           at 
org.apache.spark.task.TaskResources.addResourceIfNotRegistered(TaskResources.scala)
           at 
org.apache.gluten.memory.arrow.pool.ArrowNativeMemoryPool.arrowPool(ArrowNativeMemoryPool.java:42)
           at 
org.apache.gluten.datasource.ArrowCSVFileFormat.pool$lzycompute(ArrowCSVFileFormat.scala:64)
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to