Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1265

TaskTracker won't bind to localhost

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.12.3
    • 0.15.0
    • ipc
    • None

    Description

      Connecting to the TaskTracker with the default configuration fails with the firewall settings as mentioned in the Environment. This means the job seems to start, but then will hang with all tasks at 0%

      Also, setting mapred.tasktracker.dns.interface to 'lo' has no effect. I would expect this bound the TaskTracker in such way that local connections would be made.

      To make it work, I have to explicitly poke a hole in the firewall:

      1. hadoop
        iptables -A INPUT --protocol tcp --destination-port 50050 -j ACCEPT
        iptables -A OUTPUT --protocol tcp --destination-port 50050 -j ACCEPT

      While in practise a Hadoop will often run on a cluster (so the firewall has to be opened anyway), I don't think this should be the default behaviour, because it is highly confusing.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eelco Eelco Lempsink
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: