zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Stephenson <luke.stephen...@gmail.com>
Subject Re: Client running on windows cannot access Server running on linux
Date Wed, 11 Mar 2015 03:00:15 GMT
Just a guess, but given the logs show "Session0x0 for server null", it
looks like the configuration is not being picked up on your zookeeper
client.

Luke

On 11 March 2015 at 13:30, jiangok <jiangok2006@gmail.com> wrote:

> I have a zookeeper server running on linux. The zk client running on linux
> can connect to the server but the one running on windows cannot:
>
> 2015-03-10 19:05:43,865 [myid:] - INFO  [main:ZooKeeper@438] - Initiating
> client
> connection, connectString=10.252.24.101:2181 sessionTimeout=30000
> watcher=org.a
> pache.zookeeper.ZooKeeperMain$MyWatcher@506c589e
> Welcome to ZooKeeper!
> 2015-03-10 19:05:44,018 [myid:] - INFO
> [main-SendThread(10.252.24.101:2181):Cli
> entCnxn$SendThread@975] - Opening socket connection to server
> 10.252.24.101/10.2
> 52.24.101:2181. Will not attempt to authenticate using SASL (unknown error)
> JLine support is enabled
> [zk: 10.252.24.101:2181(CONNECTING) 0] 2015-03-10 19:06:05,015 [myid:] -
> WARN  [
> main-SendThread(10.252.24.101:2181):ClientCnxn$SendThread@1102] - Session
> 0x0 fo
> r server null, unexpected error, closing socket connection and attempting
> reconn
> ect
> java.net.ConnectException: Connection timed out: no further information
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716
> )
>         at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
> NIO.java:361)
>         at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> 2015-03-10 19:06:06,122 [myid:] - INFO
> [main-SendThread(10.252.24.101:2181):Cli
> entCnxn$SendThread@975] - Opening socket connection to server
> 10.252.24.101/10.2
> 52.24.101:2181. Will not attempt to authenticate using SASL (unknown error)
> 2015-03-10 19:06:27,127 [myid:] - WARN
> [main-SendThread(10.252.24.101:2181):Cli
> entCnxn$SendThread@1102] - Session 0x0 for server null, unexpected error,
> closin
> g socket connection and attempting reconnect
> java.net.ConnectException: Connection timed out: no further information
>         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>         at
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716
> )
>         at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
> NIO.java:361)
>         at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> 2015-03-10 19:06:28,229 [myid:] - INFO
> [main-SendThread(10.252.24.101:2181):Cli
> entCnxn$SendThread@975] - Opening socket connection to server
> 10.252.24.101/10.2
> 52.24.101:2181. Will not attempt to authenticate using SASL (unknown error)
>
>
> Is this scenario supported? If so, what could go wrong in my case?
> Appreciate any help!
>
>
>
>
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/Client-running-on-windows-cannot-access-Server-running-on-linux-tp7580898.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message