Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - Zookeeper can use SDP?


Copy link to this message
-
Re: Zookeeper can use SDP?
Ted Dunning 2012-10-22, 06:22
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
>