You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2021/12/23 00:53:00 UTC

[jira] [Commented] (SPARK-37706) Deserializing problem in java 17

    [ https://issues.apache.org/jira/browse/SPARK-37706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464195#comment-17464195 ] 

Hyukjin Kwon commented on SPARK-37706:
--------------------------------------

Sounds like this is an issue in Databricks JDBC? can you share the full stacktrace?

> Deserializing problem in java 17
> --------------------------------
>
>                 Key: SPARK-37706
>                 URL: https://issues.apache.org/jira/browse/SPARK-37706
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 3.2.0
>            Reporter: Krzysztof Strzała
>            Priority: Major
>
> When using the connector with Spark , there is a problem with deserializing using databricks jdbc driver in java 17 ( https://databricks.com/spark/jdbc-drivers-download)
> Caused by: java.lang.UnsupportedOperationException: sun.misc.Unsafe or java.nio.DirectByteBuffer.(long, int) not available
>  
> Setting parameter "-Dio.netty.tryReflectionSetAccessible=true" doesn't help.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org