You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by "Natarajan, Senthil" <se...@pitt.edu> on 2008/03/31 23:00:03 UTC

Hadoop Port Configuration

Hi,

I am using default settings from hadoop-default.xml and hadoop-site.xml

And I just changed this port number

<name>mapred.task.tracker.report.address</name>

  <!--<value>127.0.0.1:50024</value>-->



I created the firewall rule to allow port range 50000:50100 between the slaves and master.



But reduce on the slaves using some other ports seems. So Reduce always hangs with firewall enabled. If I disable the firewall it works fine.

Could you please let me know what I am missing or where to control the hadoop random port creation?



Thanks,
Senthil

Re: Hadoop Port Configuration

Posted by Liu Yan <gz...@gmail.com>.
hi,

If your master and slave are two different boxes, don't use 127.0.0.1
as the address. Use something in your LAN, e.g., 192.168.x.x,
10.x.x.x, etc.

HTH,
Yan

2008/4/1, Natarajan, Senthil <se...@pitt.edu>:
> Hi,
>
>  I am using default settings from hadoop-default.xml and hadoop-site.xml
>
>  And I just changed this port number
>
>  <name>mapred.task.tracker.report.address</name>
>
>   <!--<value>127.0.0.1:50024</value>-->
>
>
>
>  I created the firewall rule to allow port range 50000:50100 between the slaves and master.
>
>
>
>  But reduce on the slaves using some other ports seems. So Reduce always hangs with firewall enabled. If I disable the firewall it works fine.
>
>  Could you please let me know what I am missing or where to control the hadoop random port creation?
>
>
>
>  Thanks,
>
> Senthil
>