joprice commented on issue #1577:
URL: https://github.com/apache/helix/issues/1577#issuecomment-1094103728

   Are jdks higher than 8 explicitly not supported? When trying to call 
`HelixControllerMain.startHelixController` I can connect to zookeeper when 
using java 8, but when using for example jdk 17, I get the following exception:
   
   ```14:27:39.827 [main-SendThread(localhost:2181)] INFO 
org.apache.zookeeper.ClientCnxn - Opening socket connection to server 
localhost/<unresolved>:2181. Will not attempt to authenticate using SASL 
(unknown error)
   14:27:39.838 [main-SendThread(localhost:2181)] WARN 
org.apache.zookeeper.ClientCnxn - Session 0x0 for server 
localhost/<unresolved>:2181, unexpected error, closing socket connection and 
attempting reconnect
   java.nio.channels.UnresolvedAddressException: null
        at java.base/sun.nio.ch.Net.checkAddress(Net.java:149)
        at java.base/sun.nio.ch.Net.checkAddress(Net.java:157)
        at 
java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:816)
        at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:839)
        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)
   14:27:39.839 [main-SendThread(localhost:2181)] DEBUG 
org.apache.zookeeper.ClientCnxnSocketNIO - Ignoring exception during shutdown 
input
   java.net.SocketException: Socket is not connected
        at java.base/sun.nio.ch.Net.translateToSocketException(Net.java:181)
        at java.base/sun.nio.ch.Net.translateException(Net.java:217)
        at java.base/sun.nio.ch.Net.translateException(Net.java:223)
        at 
java.base/sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:392)
        at 
org.apache.zookeeper.ClientCnxnSocketNIO.cleanup(ClientCnxnSocketNIO.java:200)
        at 
org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1250)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1174)
   Caused by: java.nio.channels.NotYetConnectedException: null
        at 
java.base/sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:1098)
        at 
java.base/sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:390)
        ... 3 common frames omitted
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to