Yup, solved. Thanks. On Mon, Oct 22, 2012 at 3:22 PM, Ted Dunning <[email protected]> wrote: > I think that your network is not correctly set up. > > SDP is not a transport protocol. > > On Sun, Oct 21, 2012 at 9:50 PM, Edward J. Yoon <[email protected]>wrote: > >> Hi, >> >> I tried to run Zookeeper service on fast-ethernet cluster but >> "java.net.SocketException: Network is unreachable". I have no idea. >> Zookeeper can use SDP protocol[1]? or Has anyone tried already? >> >> >> SDP log: >> CONNECT to 192.168.1.1:21810 (socket converted to SDP protocol) >> ... >> >> ZK log: >> 12/10/21 21:34:43 INFO zookeeper.ClientCnxn: Opening socket connection >> to server bda01-adm/192.168.1.1:21810 >> 12/10/21 21:34:43 WARN zookeeper.ClientCnxn: Session 0x0 for server >> null, unexpected error, closing socket connection and attempting >> reconnect >> java.net.SocketException: Network is unreachable >> at sun.nio.ch.Net.connect0(Native Method) >> at sun.nio.ch.Net.connect(Net.java:364) >> at sun.nio.ch.Net.connect(Net.java:356) >> at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623) >> at >> org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050) >> at >> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077) >> >> >> >> 1. http://docs.oracle.com/javase/tutorial/sdp/sockets/enable.html >> >> -- >> Best Regards, Edward J. Yoon >> @eddieyoon >>
-- Best Regards, Edward J. Yoon @eddieyoon
