-
Couldn't load subscription status.
- Fork 28.9k
[SPARK-53927][BUILD][DSTREAM][4.0] Upgrade kinesis client and fix kinesis integration tests #52654
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
base: branch-4.0
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,10 +64,38 @@ | |
| <version>${aws.java.sdk.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.amazonaws</groupId> | ||
| <groupId>software.amazon.kinesis</groupId> | ||
| <artifactId>amazon-kinesis-producer</artifactId> | ||
| <version>${aws.kinesis.producer.version}</version> | ||
| <scope>test</scope> | ||
| <exclusions> | ||
| <!-- auth and sts are excluded for SBT dependency management, so those dependencies | ||
| can be added explicitly --> | ||
| <exclusion> | ||
| <groupId>software.amazon.awssdk</groupId> | ||
| <artifactId>auth</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>software.amazon.awssdk</groupId> | ||
| <artifactId>sts</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.kjetland</groupId> | ||
| <artifactId>mbknor-jackson-jsonschema_2.12</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>software.amazon.awssdk</groupId> | ||
| <artifactId>auth</artifactId> | ||
| <version>${aws.java.sdk.v2.version}</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>software.amazon.awssdk</groupId> | ||
| <artifactId>sts</artifactId> | ||
| <version>${aws.java.sdk.v2.version}</version> | ||
| <scope>test</scope> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need to add these dependency for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @sarutak @dongjoon-hyun The issue is caused by Note that this is not an issue for maven build as it correctly handles transitive dependencies, and causes the issue that you noticed in SBT. |
||
| </dependency> | ||
| <!-- manage this up explicitly to match Spark; com.amazonaws:aws-java-sdk-pom specifies | ||
| 2.6.7 but says we can manage it up --> | ||
|
|
||
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.
Sorry but we don't expect this kind of dramatic dependency changes on the release branches, @vrozov .
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.
@dongjoon-hyun This is test only dependency and the old dependency does not work on 4.x.
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.
@dongjoon-hyun
Do you have any concern even though
amazon-kinesis-produceris a test dependency and affects onlykinesis-asl?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.
@dongjoon-hyun @sarutak Note that the entire impact of the change is limited to KPLBasedKinesisTestUtils.scala and it is necessary due to other Spark dependencies being upgraded making it incompatible with the existing Kinesis producer library version.