Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8675

Setting hostname of docker container breaks with "host" networking mode for Apps which do not run as a YARN service

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 3.1.1
    • Fix Version/s: 3.2.0, 3.1.2
    • Component/s: None
    • Labels:

      Description

      Applications like the Spark AM currently do not run as a YARN service and setting hostname breaks driver/executor communication if docker version >=1.13.1 , especially with wire-encryption turned on.

      YARN-8027 sets the hostname if YARN DNS is enabled. But the cluster could have a mix of YARN service/native Applications.

      The proposal is to not set the hostname when "host" networking mode is enabled.

        Attachments

        1. YARN-8675.1.patch
          2 kB
          Suma Shivaprasad
        2. YARN-8675.2.patch
          3 kB
          Suma Shivaprasad
        3. YARN-8675.3.patch
          4 kB
          Suma Shivaprasad
        4. YARN-8675.4.patch
          4 kB
          Suma Shivaprasad

          Issue Links

            Activity

              People

              • Assignee:
                suma.shivaprasad Suma Shivaprasad
                Reporter:
                yeshavora Yesha Vora
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: