Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3.1
-
hadoop 3.3.1
spark 3.2.1
JDK8
Description
`org.wildfly.openssl` is a runtime library and its references are being shaded on Hadoop, breaking the integration with other frameworks like Spark, whenever the "fs.s3a.ssl.channel.mode" is set to "openssl". The error produced in this situation is:
Suppressed: java.lang.NoClassDefFoundError: org/apache/hadoop/shaded/org/wildfly/openssl/OpenSSLProvider
Whenever it tries to be instantiated from the `DelegatingSSLSocketFactory`. Spark tries to add it to its classpath without the shade, thus creating this issue.
Dependencies which are not on "compile" scope should probably not be shaded to avoid this kind of integration issues.
Attachments
Issue Links
- duplicates
-
HADOOP-18331 Shouldn't relocate org/wildfly/openssl in shaded client
-
- Resolved
-
- is depended upon by
-
HADOOP-18198 Release Hadoop 3.3.3: hadoop-3.3.2 with some fixes
-
- Resolved
-
- is related to
-
SPARK-38330 Certificate doesn't match any of the subject alternative names: [*.s3.amazonaws.com, s3.amazonaws.com]
-
- Resolved
-
- links to