cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Having issue in querying Data bricks End point using SQL Workbench/J

ehsan1
New Contributor II

It was working fine initially.

Message: [Simba][SparkJDBCDriver](500618) Error occured while deserializing arrow data: sun.misc.Unsafe or java.nio.DirectByteBuffer.<init>(long, int) not available [SQL State=HY000, DB Errorcode=500618]

1 REPLY 1

Anonymous
Not applicable

@Ehsan Ullahโ€‹ :

The error message you received indicates that there is an issue with deserializing arrow data in the Spark JDBC driver. This error is caused by the fact that the sun.misc.Unsafe or java.nio.DirectByteBuffer

classes are not available.

To resolve this issue, you may try the following steps:

  1. Check that you are using the correct version of the JDBC driver. You can download the latest version of the driver from the Databricks website.
  2. Verify that you have the required dependencies installed, such as Java Development Kit (JDK) and Apache Arrow. Make sure you are using the correct versions.
  3. Check that you have properly configured your connection string, including the correct endpoint and credentials.
  4. If you are using a proxy server, make sure that it is correctly configured and that the necessary ports are open.
  5. Try to use a different JDBC driver or client tool to connect to your Databricks endpoint.
  6. If none of the above steps work, try contacting Databricks support for further assistance.

I hope this helps! Let me know if you have any further questions.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group