-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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-16346: Stabilize S3A OpenSSL support #1764
Conversation
c832547
to
de231a2
Compare
Fixed the checkstyle issues. New Testing:
|
🎊 +1 overall
This message was automatically generated. |
New Testing:
|
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.
reran s3a tests today, saw one known failure (https://issues.apache.org/jira/browse/HADOOP-16800) , otherwise all good.
I'm +1 for this now, you've done as much due diligence as possible, once its merged in we can see if any problems arise with others
+1, merged in. thanks. |
HADOOP-16346: Stabilize S3A OpenSSL support
Related JIRAs:
Introduces
openssl
as an option forfs.s3a.ssl.channel.mode
. The new option is documented and marked as experimental.Summary of changes:
wildfly-openssl
a runtime dependency (rather than a compile time dependency for ABFS and S3A); onlywildfly-openssl-java
is needed as a compile time dependencySSLChannelMode.OpenSSL
is specified inDelegatingSSLSocketFactory
core-default.xml
and S3A'sperformance.md
Testing Summary:
fs.s3a.ssl.channel.mode
hasn't changed, so this patch doesn't expose any new default changes to usersCompleted Testing:
test.fs.s3a.sts.enabled = true
mvn clean verify -Ds3guard -Ddynamodb -Dscale -Dauth
fs.s3a.ssl.channel.mode = openssl
ITestS3ACommitterMRJob
(which I presume is a flaky test)fs.s3a.ssl.channel.mode
toopenssl
uses WildFly OpenSSL; took a jstack while running an S3A test:fs.s3a.ssl.channel.mode
todefault
and without settingorg.wildfly.openssl.path
, the CLI still works; confirmed that when DEBUG logs are enabled, the following log line is printed:fs.s3a.ssl.channel.mode
toopenssl
and without settingorg.wildfly.openssl.path
, the CLI fails (as expected) with the following error:fs.s3a.ssl.channel.mode
toopenssl
and settingorg.wildfly.openssl.path
(export HADOOP_OPTS="-Dorg.wildfly.openssl.path=/usr/lib/x86_64-linux-gnu/"
), the CLI works (stdout is the same as above).