Jackey Lee created ARROW-16566:
----------------------------------
Summary: Could not initialize class
org.apache.arrow.dataset.jni.NativeMemoryPool
Key: ARROW-16566
URL: https://issues.apache.org/jira/browse/ARROW-16566
Project: Apache Arrow
Issue Type: Bug
Reporter: Jackey Lee
Fix For: 9.0.0
I am using Arrow in Spark. When the specification is turned on, it is possible
for the task to be forcibly killed during the running process. It means,
`JniLoader.get().ensureLoaded()` maybe failed with `ClosedByInterruptException`
when the task was killed. Meanwhile `NativeMemoryPool` use it as a static code,
this leads to an init failure every time the NativeMemroyPool is trying to
initialized and can never succeed. It would always fail to init
`NativeMemoryPool` with `java.lang.NoClassDefFoundError: Could not initialize
class org.apache.arrow.dataset.jni.NativeMemoryPool`
--
This message was sent by Atlassian Jira
(v8.20.7#820007)