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

Jobtracker & Namenode can only bind to one interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      There is no way to tell the jobtracker & namenode to listen on more than one interface. Because of firewall rules etc., my datanodes/tasktrackers and human users live on different networks, and so talk to the jobtracker/namenode on different interfaces.

      Currently, the namenode will bind to the hostname specified in configuration in fs.default.name, and the jobtracker will bind to the hostname in mapred.job.tracker. These names are also reported to datanode and tasktracker clients.

      Consequently, putting a fqhn in these fields causes the server to only listen on the interface serving that fqhn. Putting 0.0.0.0 in these fields causes the server to report 0.0.0.0 as its address to clients, which confuses the clients and causes them to fail.

      Attachments

        1. bind-all-addresses-2.patch
          3 kB
          Fredrik Hedberg
        2. bind-all-addresses.patch
          3 kB
          Michael Bieniosek

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bien Michael Bieniosek
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: