Description
We shouldn't shade org.wildfly.openssl since it's provided dependency and will give error like the following:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/shaded/org/wildfly/openssl/OpenSSLProvider
at org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory.bindToOpenSSLProvider(DelegatingSSLSocketFactory.java:196)
at org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory.initializeSSLContext(DelegatingSSLSocketFactory.java:169)
at org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory.<init>(DelegatingSSLSocketFactory.java:134)
at org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory.initializeDefaultFactory(DelegatingSSLSocketFactory.java:105)
at org.apache.hadoop.fs.s3a.impl.NetworkBinding.bindSSLChannelMode(NetworkBinding.java:82)
at org.apache.hadoop.fs.s3a.S3AUtils.initProtocolSettings(S3AUtils.java:1347)
at org.apache.hadoop.fs.s3a.S3AUtils.initConnectionSettings(S3AUtils.java:1302)
at org.apache.hadoop.fs.s3a.S3AUtils.createAwsConf(S3AUtils.java:1259)
at org.apache.hadoop.fs.s3a.DefaultS3ClientFactory.createS3Client(DefaultS3ClientFactory.java:114)
at org.apache.hadoop.fs.s3a.S3AFileSystem.bindAWSClient(S3AFileSystem.java:846)
at org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:503)
Attachments
Issue Links
- is duplicated by
-
HADOOP-18160 `org.wildfly.openssl` should not be shaded by Hadoop build
-
- Resolved
-