Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3648 ContainerExecutor interface methods are too brittle
  3. YARN-3684

Change ContainerExecutor's primary lifecycle methods to use a more extensible mechanism for passing information.

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: yarn
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Modifying key methods in ContainerExecutor to use context objects instead of an argument list. This is more extensible and less brittle.

      Description

      As per description in parent JIRA : Adding additional arguments to key ContainerExecutor methods ( e.g startLocalizer or launchContainer ) would break the existing ContainerExecutor interface and would require changes to all executor implementations in YARN. In order to make this interface less brittle in the future, it would make sense to encapsulate arguments in some kind of a ‘context’ object which could be modified/extended without breaking the ContainerExecutor interface in the future.

        Attachments

        1. YARN-3684.002.patch
          95 kB
          Sidharta Seethana
        2. YARN-3648.001.patch
          94 kB
          Sidharta Seethana

          Issue Links

            Activity

              People

              • Assignee:
                sidharta-s Sidharta Seethana
                Reporter:
                sidharta-s Sidharta Seethana
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: