8000 java.lang.NoClassDefFoundError on Spark local mode using --conf spark.jars by XorSum · Pull Request #1047 · kwai/blaze · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

java.lang.NoClassDefFoundError on Spark local mode using --conf spark.jars #1047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XorSum
Copy link
Contributor
@XorSum XorSum commented Jul 1, 2025

Which issue does this PR close?

Closes #1046

Rationale for this change

In Spark local mode, the jar packages submitted via --conf spark.jars are loaded by Spark's childfirst class loader rather than the system class loader.

What changes are included in this PR?

use contextClassLoader instead of systemClassLoader

Are there any user-facing changes?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.lang.NoClassDefFoundError on Spark local mode using --conf spark.jars
2 participants
0