[ 
https://issues.apache.org/jira/browse/YARN-7654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422826#comment-16422826
 ] 

Eric Yang commented on YARN-7654:
---------------------------------

[~jlowe] Env-file design would work better when user to supply the filename 
instead of node manager hardcode the file name.  This eliminate the possibility 
of user overrides the env-file generated from node-manager environment using 
config file payload from Yarn services.  The file needs to be in usercache 
because node manager private area will prevent users from debugging the 
generated environment variables.  Node manager private directory will also 
require some clean up work after container/application is completed.  If we can 
eliminate those three problems, then the proposal can work.  Otherwise, we are 
creating extra problems that requires more clean up.  This is the reason I 
think having another JIRA to tackle env-file problem is better since this one 
is already over bearing to clean up past problems.

> Support ENTRY_POINT for docker container
> ----------------------------------------
>
>                 Key: YARN-7654
>                 URL: https://issues.apache.org/jira/browse/YARN-7654
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>    Affects Versions: 3.1.0
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Blocker
>         Attachments: YARN-7654.001.patch, YARN-7654.002.patch, 
> YARN-7654.003.patch, YARN-7654.004.patch, YARN-7654.005.patch, 
> YARN-7654.006.patch, YARN-7654.007.patch
>
>
> Docker image may have ENTRY_POINT predefined, but this is not supported in 
> the current implementation.  It would be nice if we can detect existence of 
> {{launch_command}} and base on this variable launch docker container in 
> different ways:
> h3. Launch command exists
> {code}
> docker run [image]:[version]
> docker exec [container_id] [launch_command]
> {code}
> h3. Use ENTRY_POINT
> {code}
> docker run [image]:[version]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to