cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Getting com.databricks.client.jdbc.Driver is not found error while connecting to databricks

HASSAN_UPPAL123
New Contributor II

Hi Community,
I need help regarding the class not found issue. I'm trying to connect databricks in python via 

jaydebeapi, provided proper class name `com.databricks.client.jdbc.Driver` and jarpath `databricks-jdbc-2.6.34.jar`, but i'm getting com.databricks.client.jdbc.Driver is not found error.
Am i using the wrong jar and class name?
1 ACCEPTED SOLUTION

Accepted Solutions

User16502773013
Databricks Employee
Databricks Employee

Hello @HASSAN_UPPAL123 
The class name is correct, for the jar please try downloading the latest from here

This issue may also be a classpath issue were the jar is not exported correctly in your client setup, I see similar issues/ suggested solutions reported in jaydebeapi's github

Regards

 

View solution in original post

1 REPLY 1

User16502773013
Databricks Employee
Databricks Employee

Hello @HASSAN_UPPAL123 
The class name is correct, for the jar please try downloading the latest from here

This issue may also be a classpath issue were the jar is not exported correctly in your client setup, I see similar issues/ suggested solutions reported in jaydebeapi's github

Regards

 

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