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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0, 3.1.1
    • 3.2.0, 3.1.2
    • None

    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.4.patch
          4 kB
          Suma Shivaprasad
        2. YARN-8675.3.patch
          4 kB
          Suma Shivaprasad
        3. YARN-8675.2.patch
          3 kB
          Suma Shivaprasad
        4. YARN-8675.1.patch
          2 kB
          Suma Shivaprasad

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment