vrozov opened a new pull request, #49870:
URL: https://github.com/apache/spark/pull/49870

   ### What changes were proposed in this pull request?
   The PR adds logging of the classpath in SparkSubmit when SparkApp throws 
`ClassNotFoundException`.
   
   ### Why are the changes needed?
   When class is submitted to Spark for execution using `SparkSubmit`, it may 
depend on other classes for which libraries are missing on the classpath (for 
example due to incorrect `--jar` option or bad install). Logging classpath 
helps to troubleshoot a missing dependency.
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, classpath is logged when `ClassNotFoundException` is raised while 
running application
   
   
   ### How was this patch tested?
   The patch only impacts logging. Logging was manually verified.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to