zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiangok <jiangok2...@gmail.com>
Subject Client running on windows cannot access Server running on linux
Date Wed, 11 Mar 2015 02:30:59 GMT
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
View raw message