Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have three zookeeper nodes in tokyo, london, and freemont on linode servers. All are gossiping.

I have a monitoring server in tokyo.

I have NOT activated the zookeeper firewall on all zookeeper servers.

From my local dev laptop, aws, etc machine I can telnet into anyone of the zookeeper nodes.

From linode, monitoring server, I cant connect by using any client.

I did use UFW to block incoming ports on the monitoring server but I dont see how that is causing issues with zookeeper port. I even disable as well to avail.

From the monitoring server I get nothing.

telnet xxx.xxx.xxx.xxx 2181

Trying xxx.xxx.xxx.xxx...
Connected to xxx.xxx.xxx.xxx.
Escape character is '^]'.
Connection closed by foreign host.

using mtr --report from both ends shows no issues.

So, I cant connect to zookeeper from a server. How do I find out what is going on?

share|improve this question
    
Do the logs on that ZK server say anything? Also check if there are established connections from the monitoring server's IP -- ZK limits the number of simultaneous connections from a single IP. –  mgorven Jul 27 '12 at 2:14
    
Oh....on the monitoring server, I am checking stuff in a while loop. Basically hitting the servers constantly. Can that be changed? Nothing in the logs. –  Tampa Jul 27 '12 at 5:05
add comment

1 Answer 1

up vote 4 down vote accepted

But you are connected:

Connected to xxx.xxx.xxx.xxx.

Whether or not you get any initial communication from the server you're connecting to (a la SSH or SMTP) or the server is waiting for the client to start (HTTP) is a protocol specific issue. However the problem is (almost) certainly not a firewalling problem.

share|improve this answer
    
Yeah..I dont think is a FF as well. again mtr shows no issue –  Tampa Jul 27 '12 at 1:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.