kevincmchen opened a new pull request #34742: URL: https://github.com/apache/spark/pull/34742
### What changes were proposed in this pull request? this PR ### Why are the changes needed? when using livy to execute sql statements that will use the udf jars located in lakefs, a inner filesystem in Tencent Cloud DLC. it will threw the following exceptions: `java.lang.LinkageError: loader constraint violation: loader (instance of sun/misc/Launcher$AppClassLoader) previously initiated loading for a different type with name` Maybe it happens in some other filesystem. This PR fix the bug by using the same jar class loader in `HiveSessionResourceLoader` and `HiveClient` ### Why are the changes needed? fix the bug that different class loader to load the same class. ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? existing testsuites -- 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