[ https://issues.apache.org/jira/browse/YARN-7654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16420736#comment-16420736 ]
Jason Lowe commented on YARN-7654: ---------------------------------- {quote}On Mac, it doesn't function the same for key value pair that are quoted. {quote} There's no need to quote values if we're using the envfile approach, right? {quote}When specified both --env-file and -e, the evaluation order is env file then -e. {quote} Why would be be specifying both arguments? All of the environment variables would go into the envfile. {quote}Another concern is the ENV file is in the localizer directory, and job submitter can call identical filename to override the file. {quote} The file would go into the nmPrivate directory which is not accessible by the user, only writable by the NM user and would be read by the container-executor. This is the same location where the NM writes the launch script and tokens today to be picked up by the container-executor. The user would not be able to access or overwrite this file. > 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