-
Notifications
You must be signed in to change notification settings - Fork 2.9k
AWS: Add support to run all integration tests when S3 Analytics Accelerator is enabled #13347
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
AWS: Add support to run all integration tests when S3 Analytics Accelerator is enabled #13347
Conversation
66983fe to
3db8540
Compare
3db8540 to
7f1c064
Compare
|
@nastra @jackye1995 @geruh May I request for a review on this PR please? PS: There are few other PRs ( #13348, #13361 ) lined up depending on this. |
aws/src/integration/java/org/apache/iceberg/aws/s3/S3TestUtil.java
Outdated
Show resolved
Hide resolved
7f1c064 to
878bee3
Compare
878bee3 to
6277a3f
Compare
I don't really have a way to run those tests, so it would be best if someone from AWS reviews them |
|
hey @nastra I have run these tests as well and confirm they all working. Would like us to get an AWS maintainer to also look? or you happy with these changes? |
6277a3f to
344c918
Compare
Yeah, I understand the concern here. While someone from AWS reviews it, I thought of adding the instructions here again so it will help anybody to run the tests.
Please let me know if there are any questions. |
|
Thanks for this, @SanjayMarreddi! I was able to run and validate the tests successfully. However, I’m a little concerned with the current approach, unless I'm missing something. Right now it seems we are manually setting the config and running the tests, and that could result in potential gaps. Since this configuration introduces a dependency, it's different from the existing S3 related configs. To reduce the risk of missing bugs, I’d suggest either splitting the tests into two sets or adding some additional tests specifically for the analytic accelerator. Relying on the manual config setup during testing might cause issues to slip through and not be caught during releases. What do you think? |
|
That makes sense @geruh. |
|
Yes, that makes sense then we can always have a test for both paths for each release |
79218c1 to
a462fd4
Compare
|
Hi @geruh, I have updated the PR with a new commit that enables running all the relevant integration tests with and without AAL as discussed above. Please have a look at it. Thanks! |
a462fd4 to
44ac26e
Compare
44ac26e to
8999b0c
Compare
8999b0c to
2631478
Compare
6e21c0d to
2631478
Compare
2631478 to
987124e
Compare
…erator is enabled
987124e to
f05c461
Compare
… is either enabled/disabled
f05c461 to
27da641
Compare
|
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions. |
|
This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time. |
Context
We have integrated analytics-accelerator-s3 into Iceberg in PR #12299. Currently, Iceberg customers need to enable the
s3.analytics-accelerator.enabledflag inS3FileIOPropertiesto use the library. We plan to make this feature enabled by default in the future and have begun addressing the feature gaps between our current Analytics Accelerator Library (AAL) stream and the existingS3InputStream. This PR marks the beginning of our work toward default integration.Description of PR
This PR modifies the existing integration tests to ensure compatibility when AAL is enabled by default. It incorporates all necessary async client setup code and skips integration tests that would currently fail if AAL is enabled in local setups. These skipped tests represent the feature gaps we are actively working to resolve.
Testing
true.