Skip to content
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

Merged
merged 5 commits into from
Apr 13, 2024

Conversation

holdenk
Copy link
Contributor

@holdenk holdenk commented Apr 11, 2024

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.

@holdenk holdenk changed the title Document the class path / classloader issue with the shuffle manager feat: Document the class path / classloader issue with the shuffle manager Apr 11, 2024
README.md Outdated Show resolved Hide resolved
@andygrove andygrove requested a review from viirya April 11, 2024 02:24
holdenk and others added 2 commits April 10, 2024 19:37
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
Copy link
Member

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.

README.md Outdated Show resolved Hide resolved
Copy link
Member

@viirya viirya left a 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]>
@sunchao sunchao merged commit 9ab6c75 into apache:main Apr 13, 2024
28 checks passed
@sunchao
Copy link
Member

sunchao commented Apr 13, 2024

Merged, thanks!

himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
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.

Spark 3.4 + Arrow Datafusion Shuffle Manager Fails due to class loader isolation
4 participants