cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Classpath issues when running spark-submit

User16869510359
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

User16869510359
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

User16869510359
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.