Hello everyone, I am trying to use Flink 1.18.1 wi...
# troubleshooting
s
Hello everyone, I am trying to use Flink 1.18.1 with java 17 and bouncy castle, but I am have bouncy castle errors during the startup of the job-manager: java.security.NoSuchAlgorithmException: bcfks KeyStore not available. With java 8 it was working fine, does anyone use flink 1.18.1 with java 17 and bouncy castle? I am having bc-fips and bcpkix-fips in the classpath.
2024-02-02T120829,902Z ERROR org.apache.flink.runtime.entrypoint.ClusterEntrypoint:741 [main] Could not start cluster entrypoint StandaloneApplicationClusterEntryPoint. org.apache.flink.runtime.entrypoint.ClusterEntrypointException: Failed to initialize the cluster entrypoint StandaloneApplicationClusterEntryPoint. at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.startCluster(ClusterEntrypoint.java:260) at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.runClusterEntrypoint(ClusterEntrypoint.java:739) at org.apache.flink.container.entrypoint.StandaloneApplicationClusterEntryPoint.main(StandaloneApplicationClusterEntryPoint.java:82) Caused by: java.io.IOException: Failed to initialize SSL for the blob server at org.apache.flink.runtime.blob.BlobServer.<init>(BlobServer.java:210) at org.apache.flink.runtime.blob.BlobUtils.createBlobServer(BlobUtils.java:129) at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.initializeServices(ClusterEntrypoint.java:399) at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.runCluster(ClusterEntrypoint.java:287) at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.lambda$startCluster$1(ClusterEntrypoint.java:237) at org.apache.flink.runtime.security.contexts.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:28) at org.apache.flink.runtime.entrypoint.ClusterEntrypoint.startCluster(ClusterEntrypoint.java:234) ... 2 common frames omitted Caused by: java.security.KeyStoreException: bcfks not found at java.base/java.security.KeyStore.getInstance(KeyStore.java:871) at org.apache.flink.runtime.net.SSLUtils.getKeyManagerFactory(SSLUtils.java:288) at org.apache.flink.runtime.net.SSLUtils.createInternalNettySSLContext(SSLUtils.java:344) at org.apache.flink.runtime.net.SSLUtils.createInternalSSLContext(SSLUtils.java:312) at org.apache.flink.runtime.net.SSLUtils.createSSLServerSocketFactory(SSLUtils.java:76) at org.apache.flink.runtime.blob.BlobServer.<init>(BlobServer.java:208) ... 8 common frames omitted Caused by: java.security.NoSuchAlgorithmException: bcfks KeyStore not available at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:159) at java.base/java.security.Security.getImpl(Security.java:676) at java.base/java.security.KeyStore.getInstance(KeyStore.java:868) ... 13 common frames omitted 2024-02-02T120829,904Z ERROR org.apache.flink.runtime.blob.BlobServer:41 [BlobServer shutdown hook] Error during shutdown of BlobServer via JVM shutdown hook. java.lang.NullPointerException: Cannot invoke "java.net.ServerSocket.close()" because "this.serverSocket" is null at org.apache.flink.runtime.blob.BlobServer.close(BlobServer.java:358) at org.apache.flink.util.ShutdownHookUtil.lambda$addShutdownHook$0(ShutdownHookUtil.java:39) at java.base/java.lang.Thread.run(Thread.java:840)
says java 17 support is still experimental
p
Perhaps opening a ticket on Jira would help here