-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-47038][BUILD] Remove shaded protobuf-java 2.6.1 dependency from kinesis-asl-assembly
#45096
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
Conversation
…rom `kinesis-asl-assembly`
|
Do we run test on Kinesis? |
|
All tests passed. |
|
Could you review this, please, @viirya ? |
|
Looking into this. |
| <dependency> | ||
| <groupId>com.google.protobuf</groupId> | ||
| <artifactId>protobuf-java</artifactId> | ||
| <version>2.6.1</version> | ||
| <!-- | ||
| We are being explicit about version here and overriding the | ||
| spark default of 2.5.0 because KCL appears to have introduced | ||
| a dependency on protobuf 2.6.1 somewhere between KCL 1.4.0 and 1.6.1. | ||
| --> | ||
| </dependency> |
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.
Before SPARK-14421, it is a provided dependency. Don't we need to keep it?
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.
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.
Oh, I see. It was overriding the protobuf version.
|
Thank you so much, @viirya ! |

What changes were proposed in this pull request?
This PR aims to remove the shaded
protobuf-java2.6.1 dependency fromkinesis-asl-assembly.Why are the changes needed?
Technically, this is a revert of SPARK-14421.
protobuf-java-2.5.0.jar.protobuf-java-2.5.0.jarfrom Apache Spark 3.5+ distribution.Does this PR introduce any user-facing change?
No, but the user can inject the required protobuf-jar from application layers.
How was this patch tested?
Pass the CIs and manual review.
BEFORE
AFTER
Was this patch authored or co-authored using generative AI tooling?
No.