Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0, 3.0.3
    • Component/s: yarn
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      In DockerLinuxContainerRuntime:launchContainer, we are adding the --hostname argument to the docker run command to set the hostname in the container to something like:  ctr-e84-1520889172376-0001-01-000001.

      This does not work when combined with the --net=host command line option in Docker 1.13.1. It causes multiple failures when the client tries to resolve the hostname and it fails.

      We haven't seen this before because we were using docker 1.12.6 which seems to ignore --hostname when you are using --net=host.

        Attachments

        1. YARN-8027.001.patch
          15 kB
          Jim Brennan
        2. YARN-8027-branch-3.0.001.patch
          8 kB
          Jim Brennan
        3. YARN-8027-branch-3.0.002.patch
          8 kB
          Jim Brennan

          Issue Links

            Activity

              People

              • Assignee:
                Jim_Brennan Jim Brennan
                Reporter:
                Jim_Brennan Jim Brennan
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: