Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-386 [Umbrella] YARN API Changes
  3. YARN-486

Change startContainer NM API to accept Container as a parameter and make ContainerLaunchContext user land

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0-beta
    • None
    • None
    • Reviewed

    Description

      Currently, id, resource request etc need to be copied over from Container to ContainerLaunchContext. This can be brittle. Also it leads to duplication of information (such as Resource from CLC and Resource from Container and Container.tokens). Sending Container directly to startContainer solves these problems. It also makes CLC clean by only having stuff in it that it set by the client/AM.

      Attachments

        1. YARN-486.1.patch
          117 kB
          Xuan Gong
        2. YARN-486.2.patch
          117 kB
          Xuan Gong
        3. YARN-486.3.patch
          121 kB
          Xuan Gong
        4. YARN-486.4.patch
          115 kB
          Xuan Gong
        5. YARN-486.5.patch
          131 kB
          Xuan Gong
        6. YARN-486.6.branch2.patch
          136 kB
          Xuan Gong
        7. YARN-486.6.patch
          135 kB
          Xuan Gong
        8. YARN-486-20130410.txt
          136 kB
          Vinod Kumar Vavilapalli

        Issue Links

          Activity

            People

              xgong Xuan Gong
              bikassaha Bikas Saha
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: