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: 

Run result unavailable: job failed with error message Library installation failed for library due to user error for jar: "dbfs:/my-jar.jar"

mani238
New Contributor III

Run result unavailable: job failed with error message Library installation failed for library due to user error for jar: "dbfs:/my-jar.jar" . Error messages: Library installation attempted on the driver node of cluster 0510-013936-3cc6d9kw and failed. Please refer to the following error message to fix the library or contact Databricks support. Error Code: DRIVER_LIBRARY_INSTALLATION_FAILURE. Error Message: java.util.concurrent.ExecutionException: java.io.FileNotFoundException: dbfs:/my-jar.jar

How do i download and install the " jar: "dbfs:/my-jar.jar" files

1 ACCEPTED SOLUTION

Accepted Solutions

Atanu
Databricks Employee
Databricks Employee

@manivannan p​ either you need to install it manually from library option of interactive cluster https://docs.databricks.com/libraries/workspace-libraries.html#upload-a-jar-python-egg-or-python-whe...

or from library option of job configuration -

JAR: Specify the Main class. Use the fully qualified name of the class containing the main method, for example, 

org.apache.spark.examples.SparkPi

. Then click Add under Dependent Libraries to add libraries required to run the task. One of these libraries must contain the main class.

https://docs.databricks.com/data-engineering/jobs/jobs.html#create-a-job

But from the error message, this looks like the jar file is invalid or there might be some issue with the jar build.

View solution in original post

2 REPLIES 2

Atanu
Databricks Employee
Databricks Employee

@manivannan p​ either you need to install it manually from library option of interactive cluster https://docs.databricks.com/libraries/workspace-libraries.html#upload-a-jar-python-egg-or-python-whe...

or from library option of job configuration -

JAR: Specify the Main class. Use the fully qualified name of the class containing the main method, for example, 

org.apache.spark.examples.SparkPi

. Then click Add under Dependent Libraries to add libraries required to run the task. One of these libraries must contain the main class.

https://docs.databricks.com/data-engineering/jobs/jobs.html#create-a-job

But from the error message, this looks like the jar file is invalid or there might be some issue with the jar build.

Anonymous
Not applicable

Hey there @manivannan p​ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

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