Thank you, I'll try it. Mark On Mon, Oct 24, 2011 at 1:50 PM, Sameer Farooqui <cassandral...@gmail.com>wrote:
> Mark, > > We figured it out. It's an issue with RedHat's IPTables. You have to open > up > those ports: > > > vim /etc/sysconfig/iptables > > Make the file look like this > > # Firewall configuration written by system-config-firewall > # Manual customization of this file is not recommended. > *filter > :INPUT ACCEPT [0:0] > :FORWARD ACCEPT [0:0] > :OUTPUT ACCEPT [0:0] > -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT > -A INPUT -p icmp -j ACCEPT > -A INPUT -i lo -j ACCEPT > -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT > -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT > -A INPUT -m state --state NEW -m tcp -p tcp --dport 50030 -j ACCEPT > -A INPUT -m state --state NEW -m tcp -p tcp --dport 50060 -j ACCEPT > -A INPUT -m state --state NEW -m tcp -p tcp --dport 50070 -j ACCEPT > -A INPUT -j REJECT --reject-with icmp-host-prohibited > -A FORWARD -j REJECT --reject-with icmp-host-prohibited > COMMIT > > Restart the web services > /etc/init.d/iptables restart > iptables: Flushing firewall rules: [ OK ] > iptables: Setting chains to policy ACCEPT: filter [ OK ] > iptables: Unloading modules: [ OK ] > iptables: Applying firewall rules: [ OK ] > > > On Mon, Oct 24, 2011 at 1:37 PM, Mark question <markq2...@gmail.com> > wrote: > > > I have the same issue and the output of "curl localhost:50030" is like > > yours, and I'm running on a remote cluster on pesudo-distributed mode. > > Can anyone help? > > > > Thanks, > > Mark > > > > On Mon, Oct 24, 2011 at 11:02 AM, Sameer Farooqui > > <cassandral...@gmail.com>wrote: > > > > > Hi guys, > > > > > > I'm running a 1-node Hadoop 0.20.2 pseudo-distributed node with RedHat > > 6.1 > > > on Amazon EC2 and while my node is healthy, I can't seem to get to the > > > JobTracker GUI working. Running 'curl localhost:50030' from the CMD > line > > > returns a valid HTML file. Ports 50030, 50060, 50070 are open in the > > Amazon > > > Security Group. MapReduce jobs are starting and completing > successfully, > > so > > > my Hadoop install is working fine. But when I try to access the web GUI > > > from > > > a Chrome browser on my local computer, I get nothing. > > > > > > Any thoughts? I tried some Google searches and even did a hail-mary > Bing > > > search, but none of them were fruitful. > > > > > > Some troubleshooting I did is below: > > > [root@ip-10-86-x-x ~]# jps > > > 1337 QuorumPeerMain > > > 1494 JobTracker > > > 1410 DataNode > > > 1629 SecondaryNameNode > > > 1556 NameNode > > > 1694 TaskTracker > > > 1181 HRegionServer > > > 1107 HMaster > > > 11363 Jps > > > > > > > > > [root@ip-10-86-x-x ~]# curl localhost:50030 > > > <meta HTTP-EQUIV="REFRESH" content="0;url=jobtracker.jsp"/> > > > <html> > > > > > > <head> > > > <title>Hadoop Administration</title> > > > </head> > > > > > > <body> > > > > > > <h1>Hadoop Administration</h1> > > > > > > <ul> > > > > > > <li><a href="jobtracker.jsp">JobTracker</a></li> > > > > > > </ul> > > > > > > </body> > > > > > > </html> > > > > > >