Hi guys BookKeeper does not work with JDK14, because it bundles ZooKeeper 3.4 that does not work with JDK14. Below and example of the error.
ZooKeeper 3.4 is also declared EOL from 1rt June 2020 !!! We must update to 3.5 as soon as possible. I am running BookKeeper server and client with ZK 3.5 in production without issues. Currency there is one pending PR for the upgrade that is blocked due to a problem in integration testing. Enrico 2020-04-11 16:02:59,902 - INFO - [main-SendThread(127.0.0.1:2181 ):ClientCnxn$SendThread@1029] - Opening socket connection to server 127.0.0.1/<unresolved>:2181. Will not attempt to authenticate using SASL (unknown error) 2020-04-11 16:02:59,903 - WARN - [main-SendThread(127.0.0.1:2181 ):ClientCnxn$SendThread@1168] - Session 0x0 for server 127.0.0.1/<unresolved>:2181, unexpected error, closing socket connection and attempting reconnect java.nio.channels.UnresolvedAddressException at java.base/sun.nio.ch.Net.checkAddress(Net.java:139) at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:727) at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:741) at org.apache.zookeeper.ClientCnxnSocketNIO.registerAndConnect(ClientCnxnSocketNIO.java:277) at org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:287) at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1021) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1064)