gt; access the unsafe direct memory interfaces, or is this something that
>>>>>>> will
>>>>>>> either be addressed by the spec (by making an "approved" interface) or
>>>>>>> by
>>>>>>> libraries (with som
io.ch=ALL-UNNAMED" resolved the
> issue "cannot access class sun.nio.ch.DirectBuffer"
> But still Spark throws some other exception
>
> org.apache.spark.SparkException: Job aborted due to stage failure: Task 0
> in stage 0.0 failed 1 times, most recent failure: Lost task 0
Thanks everyone for giving your feedback.
Jvm option "--add-opens=java.base/sun.nio.ch=ALL-UNNAMED" resolved the
issue "cannot access class sun.nio.ch.DirectBuffer"
But still Spark throws some other exception
org.apache.spark.SparkException: Job aborted due to stage failure:
>>>> arunacha...@mcruncher.com> wrote:
>>>>
>>>>> Hi guys,
>>>>>
>>>>> spark-sql_2.12:3.2.1 is used in our application.
>>>>>
>>>>> It throws following exceptions when the app runs using JRE17
>>>&g
> spark-sql_2.12:3.2.1 is used in our application.
>>>>
>>>> It throws following exceptions when the app runs using JRE17
>>>>
>>>> java.lang.IllegalAccessError: class org.apache.spark.storage.StorageUtils$
>>>> (in unna
AM Arunachalam Sibisakkaravarthi <
>> arunacha...@mcruncher.com> wrote:
>>
>>> Hi guys,
>>>
>>> spark-sql_2.12:3.2.1 is used in our application.
>>>
>>> It throws following exceptions when the app runs using JRE17
>>>
>>>
t; Hi guys,
>>
>> spark-sql_2.12:3.2.1 is used in our application.
>>
>> It throws following exceptions when the app runs using JRE17
>>
>> java.lang.IllegalAccessError: class org.apache.spark.storage.StorageUtils$
>> (in unnamed module @0x451f1bd4) cannot access
ng exceptions when the app runs using JRE17
>
> java.lang.IllegalAccessError: class org.apache.spark.storage.StorageUtils$
> (in unnamed module @0x451f1bd4) cannot access class sun.nio.ch.DirectBuffer
> (in module java.base) because module java.base does not export s
Hi guys,
spark-sql_2.12:3.2.1 is used in our application.
It throws following exceptions when the app runs using JRE17
java.lang.IllegalAccessError: class
org.apache.spark.storage.StorageUtils$ (in unnamed module @0x451f1bd4)
cannot access class sun.nio.ch.DirectBuffer (in module java.base