[
https://issues.apache.org/jira/browse/HADOOP-19719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037252#comment-18037252
]
Steve Loughran commented on HADOOP-19719:
-----------------------------------------
This is probably the cause of yetus test failures
{code}
java.io.IOException: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: openssl.TLS, provider: openssl, class:
org.wildfly.openssl.OpenSSLContextSPI$OpenSSLTLSContextSpi)
at
org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory.<init>(DelegatingSSLSocketFactory.java:137)
at
org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory.initializeDefaultFactory(DelegatingSSLSocketFactory.java:106)
at
org.apache.hadoop.security.ssl.TestDelegatingSSLSocketFactory.testOpenSSL(TestDelegatingSSLSocketFactory.java:42)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.security.NoSuchAlgorithmException: Error constructing
implementation (algorithm: openssl.TLS, provider: openssl, class:
org.wildfly.openssl.OpenSSLContextSPI$OpenSSLTLSContextSpi)
at
java.base/java.security.Provider$Service.newInstance(Provider.java:1924)
at
java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
at
java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
at java.base/javax.net.ssl.SSLContext.getInstance(SSLContext.java:185)
at
org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory.bindToOpenSSLProvider(DelegatingSSLSocketFactory.java:207)
at
org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory.initializeSSLContext(DelegatingSSLSocketFactory.java:170)
at
org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory.<init>(DelegatingSSLSocketFactory.java:135)
... 5 more
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at org.wildfly.openssl.SSL.init(SSL.java:87)
at
org.wildfly.openssl.OpenSSLContextSPI.<init>(OpenSSLContextSPI.java:137)
at
org.wildfly.openssl.OpenSSLContextSPI$OpenSSLTLSContextSpi.<init>(OpenSSLContextSPI.java:453)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at
java.base/java.security.Provider$Service.newInstanceOf(Provider.java:1935)
at
java.base/java.security.Provider$Service.newInstanceUtil(Provider.java:1942)
at
java.base/java.security.Provider$Service.newInstance(Provider.java:1917)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.wildfly.openssl.SSL.init(SSL.java:82)
... 21 more
Caused by: java.lang.UnsatisfiedLinkError:
/tmp/tmp-9253732007141816518openssl/libwfssl.so:
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by
/tmp/tmp-9253732007141816518openssl/libwfssl.so)
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at
java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
at
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
at
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2420)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:2006)
at org.wildfly.openssl.SSL$LibraryLoader.load(SSL.java:288)
... 26 more
{code}
wildfly native libs need to be built against an older version of glibc.
* I don't want to roll back to the older version as removes the openssl 3.0
option
* we can't do our own private build/release (we,, we could, but I don't want to
own anything ssl related)
Proposed we catch and downgrade this test failure
> Upgrade to wildfly version with support for openssl 3
> -----------------------------------------------------
>
> Key: HADOOP-19719
> URL: https://issues.apache.org/jira/browse/HADOOP-19719
> Project: Hadoop Common
> Issue Type: Bug
> Components: build, fs/azure, fs/s3
> Affects Versions: 3.5.0, 3.4.2
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.0, 3.4.3
>
>
> Wildfly 2.1.4
> * doesn't work with openssl 3 (that symbol change...why did they do that?)
> we need a version with
> https://github.com/wildfly-security/wildfly-openssl-natives/commit/6cecd42a254cd78585fefd9a0e41ad7954ece80d
> 2.2.5.Final does the openssl 3 support.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]