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:ย 

Classpath issues when running spark-submit

brickster_2018
Databricks Employee
Databricks Employee

How to identify the jars used to load a particular class. I am sure I packed the classes correctly in my application jar. However, looks like the class is loaded from a different jar. I want to understand the details so that I can ensure to use the right version of the jar and avoid conflict.

1 ACCEPTED SOLUTION

Accepted Solutions

brickster_2018
Databricks Employee
Databricks Employee

Adding the below configurations at the cluster level can help to print more logs to identify the jars from which the class is loaded.

  • spark.executor.extraJavaOptions=-verbose:class
  • spark.driver.extraJavaOptions=-verbose:class

View solution in original post

1 REPLY 1

brickster_2018
Databricks Employee
Databricks Employee

Adding the below configurations at the cluster level can help to print more logs to identify the jars from which the class is loaded.

  • spark.executor.extraJavaOptions=-verbose:class
  • spark.driver.extraJavaOptions=-verbose:class

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now