-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-16346: Stabilize S3A OpenSSL support #1764
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
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
opensslas an option forfs.s3a.ssl.channel.mode. The new option is documented and marked as experimental.Summary of changes:
wildfly-openssla runtime dependency (rather than a compile time dependency for ABFS and S3A); onlywildfly-openssl-javais needed as a compile time dependencySSLChannelMode.OpenSSLis specified inDelegatingSSLSocketFactorycore-default.xmland S3A'sperformance.mdTesting Summary:
fs.s3a.ssl.channel.modehasn't changed, so this patch doesn't expose any new default changes to usersCompleted Testing:
test.fs.s3a.sts.enabled = truemvn clean verify -Ds3guard -Ddynamodb -Dscale -Dauthfs.s3a.ssl.channel.mode = opensslITestS3ACommitterMRJob(which I presume is a flaky test)fs.s3a.ssl.channel.modetoopenssluses WildFly OpenSSL; took a jstack while running an S3A test:fs.s3a.ssl.channel.modetodefaultand 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.modetoopenssland without settingorg.wildfly.openssl.path, the CLI fails (as expected) with the following error:fs.s3a.ssl.channel.modetoopenssland 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).