I commented the line:
127.0.1.1 name
in /etc/hosts and the example run without problems.
2013/10/21, Andro Bermúdez Serrano andro.bermu...@gmail.com:
this is the output of the command in all servers:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT
Hey Andro,
I believe the reason you are seeing this error is due to ports being
blocked by iptables. You need to have port 3 open for the master on all
machines in your cluster. You also need to open ports 30001 up to the
number of workers you will be running.
So if you are running 10 workers
Yes, that would be the reason. In addition to the ports for netty, you also
need to accept connections to Zookeeper (e.g. 22181).
On Mon, Oct 21, 2013 at 5:06 PM, Simon McGloin simonmcgl...@gmail.comwrote:
Hey Andro,
I believe the reason you are seeing this error is due to ports being
Are you sure the iptables rules were applied to all your servers? If you
run the command
sudo iptables -L
does it show the ports as open?
On Mon, Oct 21, 2013 at 8:16 PM, Andro Bermúdez Serrano
andro.bermu...@gmail.com wrote:
I added this two lines:
iptables -A INPUT -p tcp -m state --state
this is the output of the command in all servers:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere state
NEW tcp dpts:3:30010
ACCEPT tcp -- anywhere anywhere state
NEW