hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-3683) Create an abstraction in ContainerExecutor for Container-script generation
Date Tue, 19 May 2015 21:23:00 GMT
Vinod Kumar Vavilapalli created YARN-3683:
---------------------------------------------

             Summary: Create an abstraction in ContainerExecutor for Container-script generation
                 Key: YARN-3683
                 URL: https://issues.apache.org/jira/browse/YARN-3683
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: nodemanager
            Reporter: Vinod Kumar Vavilapalli
            Assignee: Vinod Kumar Vavilapalli


Before YARN-1964, Container-script generation was fundamentally driven by ContainerLaunch
object. After YARN-1964, this got pulled into ContainerExecutor via the {{writeLaunchEnv()}}
method which looks like an API, but isn't.

In addition, DefaultContainerExecutor itself has a plugin {{LocalWrapperScriptBuilder}} which
kind of does the same thing, but only for Linux/Windows.

We need to have a common API to override the script generation for Linux/Windows/Docker etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message