hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Test <erik.shi...@gmail.com>
Subject Re: TaskTracker and DataNodes cannot connect to master node (NoRouteToHostException)
Date Wed, 26 May 2010 17:12:34 GMT

I'm running on an internal network so I shutdown the iptables on two
internal nodes. I was able to run a node as a slave and another as a master.


On 26 May 2010 13:01, Eric Sammer <esammer@cloudera.com> wrote:

> On Wed, May 26, 2010 at 12:38 PM, Erik Test <erik.shiken@gmail.com> wrote:
> > I confirmed that the hostname for the machine in the /etc/hosts file
> points
> > to the actual address of the machine and not the local loopback.
> Excellent.
> > However, I see that the ports reported in the log file are not available
> in
> > the iptables. I'm new to configuring iptables (i.e. I made my first
> > configuration changes yesterday) so do I configure the port on the slave
> > node as an output chain going to the master node?
> It helps to think of it in terms of the direction the packets flow on
> initial connect. In other words, DNs connect to the NN 8020 (or
> whatever you've configured) for instance, so you'd open the INPUT
> chain for 8020 on the NN. You almost always want to allow related and
> established connections. Before making significant changes to iptables
> (as you can lock yourself out of a box) you should absolutely become
> more familiar with it. Check out http://netfilter.org/ for all of the
> details and HOWTOs.
> In the interim, if your Hadoop nodes are on a trusted internal
> network, you may want to make sure things work without iptables first,
> then add it when you have rules that make sense.
> Regards.
> --
> Eric Sammer
> phone: +1-917-287-2675
> twitter: esammer
> data: www.cloudera.com

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message