-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-18465. Fix S3A SSE test skip when encryption is disabled #4925
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
HADOOP-18465. Fix S3A SSE test skip when encryption is disabled #4925
Conversation
…on#setup() method
🎊 +1 overall
This message was automatically generated. |
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/AbstractTestS3AEncryption.java
Show resolved
Hide resolved
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/AbstractTestS3AEncryption.java
Show resolved
Hide resolved
🎊 +1 overall
This message was automatically generated. |
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.
+1
/** | ||
* Skips the tests if encryption is not enabled in configuration. | ||
* | ||
* @implNote We can use {@link #createConfiguration()} here since |
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.
not sure if maven is set up to use those tags; no reason why we shouldn't start though
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 never realised they weren't JavaDoc standard tags. I think they're just used with JDK docs.
I'm not really fussed either way, I can move to an inline comment really.
Just as a note, if this was in public
src code then I think builds would fail with something like this:
[ERROR] hadoop/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java:61: error: unknown tag: myTag
[ERROR] * @myTag What happens if I build this?
Happy to move it to inline comment in trunk
- let me know.
ok, merged to trunk. this can go into -3.3 as well, can't it? |
…he#4925) Contributed by Daniel Carl Jones
Yeah, I don't see why not. I've opened #4977. Integ tests are running ATM. |
Contributed by Daniel Carl Jones
Contributed by Daniel Carl Jones
…he#4925) Contributed by Daniel Carl Jones
Description of PR
When running integration tests against an S3-compatible endpoint without SSE support, tests would fail despite marking
test.fs.s3a.encryption.enabled
as false.How was this patch tested?
Against eu-west-1, no special configuration. Encryption enabled.
I see these failures - looks unrelated. Tests for encryption are passing. Third time they went away and everything is passing.
Against an S3-compatible endpoint without SSE support, running only ITestS3AEncryptionSSEKMSDefaultKey.
Works for me :) Only tried ITestS3AEncryptionSSEKMSDefaultKey - there's a lot breaking both before and after this change, still need to figure that bit out later.
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?