Re: Problem running the PageRank example in a cluster

2013-10-24 Thread Andro Bermúdez Serrano
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

Re: Problem running the PageRank example in a cluster

2013-10-21 Thread Simon McGloin
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

Re: Problem running the PageRank example in a cluster

2013-10-21 Thread Claudio Martella
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

Re: Problem running the PageRank example in a cluster

2013-10-21 Thread Simon McGloin
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

Re: Problem running the PageRank example in a cluster

2013-10-21 Thread Andro Bermúdez Serrano
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