Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
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
Attachments
Issue Links
- breaks
-
YARN-4643 Container recovery is broken with delegating container runtime
- Resolved