Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Cann't connect zookeeper

$
0
0
Hi,
I am kinda new to the mailing lists world, so sorry If I make any mistake!

I am trying to connect to zookeeper using mess-slave / marathon, and I am getting the next error - 
2014-02-22 20:27:52,605:21224(0x110d01000):ZOO_ERROR [ at ] handle_socket_error_msg@1579: Socket [192.168.1.107:2087] zk retcode=-4, errno=61(Connection refused): server refused to accept the client
2014-02-22 20:27:55,939:21224(0x110d01000):ZOO_ERROR [ at ] handle_socket_error_msg@1579: Socket [192.168.1.107:2087] zk retcode=-4, errno=61(Connection refused): server refused to accept the client

I am trying to pass the next url as the zookeeper url - zk://yosy:yosy [ at ] 192.168.1.107:2087/mesos

I have installed zookeeper using apt-get and my configuration is simple as possible with a little addition (bold) - 
tickTime=2000
initLimit=10
syncLimit=5
dataDir=/var/lib/zookeeper

clientPort=2181
clientPortAddress=192.168.1.107

This happens from a remote computer and inside the vm zookeeper installed in.
What am I doing wrong?

-- 
Yosi Attias

Viewing all articles
Browse latest Browse all 5648

Trending Articles