-
Notifications
You must be signed in to change notification settings - Fork 377
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
[GLUTEN-547] Resolve Jar dependency that conflicts with Apache Spark #1030
[GLUTEN-547] Resolve Jar dependency that conflicts with Apache Spark #1030
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/oap-project/gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
pom.xml
Outdated
<artifactId>maven-shade-plugin</artifactId> | ||
<version>3.4.1</version> | ||
<configuration> | ||
<finalName>${jar.assembly.name.prefix}-spark${sparkbundle.version}_${scala.binary.version}-${project.version}-jar-with-dependencies</finalName> |
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.
Could you add the operating system version here? like ubuntu22.04
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.
do we want to make this change here? I saw assembly plugin original didn't contain this jar.assembly.name.prefix
package/pom.xml
Outdated
<pattern>org.apache.arrow</pattern> | ||
<shadedPattern>io-glutenproject.shaded.org.apache.arrow</shadedPattern> | ||
<!--arrow's C wrapper refers to the original class path, so we should not relocate here--> | ||
<excludes> | ||
<exclude>org.apache.arrow.c.*</exclude> | ||
<exclude>org.apache.arrow.c.jni.*</exclude> | ||
</excludes> | ||
</relocation> |
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.
👍
So Spark doesn't refer to arrow-c-data
jar, right?
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.
I don't think it is doing it at least right now
The CI check failure is caused by other commit and has been fixed. Please rebase your branch. Thanks! |
22182f0
to
ba2941c
Compare
after rebasing, it failed in other places, update branch again... |
CI's integrating testing is looking for a bundle jar |
Also we need to update doc: |
sorry for being late, will come back to this soon, just stuck at my daily jobs |
ok, so after trying different things, I come up with the following solution
|
Thanks @CodingCat ! |
…e Spark (apache#1030)" This reverts commit 2611bbe.
What changes were proposed in this pull request?
this PR proposes to shade protobuf in gluten core to avoid the protobuf version conflicts with what is shipped with Spark distro
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
test in our prod env
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)