-
Notifications
You must be signed in to change notification settings - Fork 164
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
feat: Document the class path / classloader issue with the shuffle manager #256
Conversation
spark/src/main/java/org/apache/spark/shuffle/sort/CometShuffleExternalSorter.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Andy Grove <[email protected]>
…ExternalSorter.java Co-authored-by: Andy Grove <[email protected]>
Depending on your deployment mode you may also need to set the driver & executor class path(s) to explicitly contain Comet otherwise Spark may use a different class-loader for the Comet components than its internal components which will then fail at runtime. For example: | ||
|
||
``` | ||
--driver-class-path spark/target/comet-spark-spark3.4_2.12-0.1.0-SNAPSHOT.jar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe also add executor configuration alongside? Although it is trivial but as we already go to update this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks for this fix.
Co-authored-by: Liang-Chi Hsieh <[email protected]>
Merged, thanks! |
Which issue does this PR close?
Closes #221
Rationale for this change
The class loader exception that you get when this is not configured is confusing.
What changes are included in this PR?
Documentation change + wrapped exception pointing to the documentation.
How are these changes tested?
Ran with different launch flags.