Re: cannot access class sun.nio.ch.DirectBuffer

2022-04-14 Thread Arunachalam Sibisakkaravarthi
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

Re: cannot access class sun.nio.ch.DirectBuffer

2022-04-13 Thread Sean Owen
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

Re: cannot access class sun.nio.ch.DirectBuffer

2022-04-13 Thread Arunachalam Sibisakkaravarthi
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:

Re: cannot access class sun.nio.ch.DirectBuffer

2022-04-13 Thread Sean Owen
>>>> 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

Re: cannot access class sun.nio.ch.DirectBuffer

2022-04-13 Thread Andrew Melo
> 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

Re: cannot access class sun.nio.ch.DirectBuffer

2022-04-13 Thread Sean Owen
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 >>> >>>

Re: cannot access class sun.nio.ch.DirectBuffer

2022-04-13 Thread Andrew Melo
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

Re: cannot access class sun.nio.ch.DirectBuffer

2022-04-12 Thread Sean Owen
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

cannot access class sun.nio.ch.DirectBuffer

2022-04-12 Thread Arunachalam Sibisakkaravarthi
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