[
https://issues.apache.org/jira/browse/YARN-8805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Badger updated YARN-8805:
------------------------------
Fix Version/s: 3.3.0
Thanks, [~eyang] for the patch and [~suma.shivaprasad] for the review!
I committed this to trunk.
> Automatically convert the launch command to the exec form when using
> entrypoint support
> ---------------------------------------------------------------------------------------
>
> Key: YARN-8805
> URL: https://issues.apache.org/jira/browse/YARN-8805
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Shane Kumpf
> Assignee: Eric Yang
> Priority: Major
> Labels: Docker
> Fix For: 3.3.0
>
> Attachments: YARN-8805.001.patch, YARN-8805.004.patch,
> YARN-8805.005.patch, YARN-8805.006.patch, YARN-8805.007.patch,
> YARN-8805.008.patch, YARN-8805.009.patch
>
>
> When {{YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE}} is true, and a
> launch command is provided, it is expected that the launch command is
> provided by the user in exec form.
> For example:
> {code:java}
> "/usr/bin/sleep 6000"{code}
> must be changed to:
> {code}"/usr/bin/sleep,6000"{code}
> If this is not done, the container will never start and will be in a Created
> state. We should automatically do this conversion vs making the user
> understand this nuance of using the entrypoint support. Docs should be
> updated to reflect this change.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]