[ 
https://issues.apache.org/jira/browse/ARROW-16566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jackey Lee updated ARROW-16566:
-------------------------------
    Description: We are 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`  (was: 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`)

> 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
>            Priority: Major
>             Fix For: 9.0.0
>
>
> We are 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)

Reply via email to