Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8472 YARN Container Phase 2
  3. YARN-5168

Add port mapping handling when docker container use bridge network

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
    • Target Version/s:

      Description

      YARN-4007 addresses different network setups when launching the docker container. We need support port mapping when docker container uses bridge network.

      The following problems are what we faced:
      1. Add "-P" to map docker container's exposed ports to automatically.
      2. Add "-p" to let user specify specific ports to map.
      3. Add service registry support for bridge network case, then app could find each other. It could be done out of YARN, however it might be more convenient to support it natively in YARN.

        Attachments

        1. YARN-5168.001.patch
          25 kB
          Eric Yang
        2. YARN-5168.002.patch
          27 kB
          Xun Liu
        3. YARN-5168.003.patch
          24 kB
          Xun Liu
        4. YARN-5168.004.patch
          24 kB
          Xun Liu
        5. YARN-5168.005.patch
          26 kB
          Xun Liu
        6. YARN-5168.006.patch
          26 kB
          Xun Liu
        7. YARN-5168.007.patch
          30 kB
          Xun Liu
        8. YARN-5168.008.patch
          29 kB
          Xun Liu
        9. YARN-5168.009.patch
          35 kB
          Xun Liu
        10. YARN-5168.010.patch
          35 kB
          Xun Liu
        11. YARN-5168.011.patch
          128 kB
          Xun Liu
        12. exposedPorts2.png
          341 kB
          Xun Liu
        13. exposedPorts1.png
          308 kB
          Xun Liu
        14. YARN-5168.012.patch
          128 kB
          Xun Liu
        15. YARN-5168.013.patch
          155 kB
          Xun Liu
        16. YARN-5168.014.patch
          169 kB
          Xun Liu
        17. YARN-5168.015.patch
          132 kB
          Xun Liu
        18. YARN-5168.016.patch
          132 kB
          Xun Liu
        19. YARN-5168.017.patch
          110 kB
          Xun Liu
        20. YARN-5168.018.patch
          110 kB
          Xun Liu
        21. YARN-5168.019.patch
          103 kB
          Xun Liu
        22. YARN-5168.020.patch
          99 kB
          Xun Liu

        Issue Links

          Activity

            People

            • Assignee:
              liuxun323 Xun Liu
              Reporter:
              hex108 Jun Gong

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment