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
Esteemed Contributor

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
Esteemed Contributor

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
Esteemed Contributor

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

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