[ 
https://issues.apache.org/jira/browse/YARN-8624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Craig Condit updated YARN-8624:
-------------------------------
    Description: 
With the changes to allow disabling the YARN launch script in favor of running 
whatever is specified in the image, I think the following needs to be 
remove/updated. There is already a section called Docker Container ENTRYPOINT 
support. I think we can clean this up a bit make it easier to understand this 
feature. This will likely require some testing to fully describe the feature.
{code:java}
If a Docker image has a command set, the behavior will depend on whether the 
YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE is set to true. If so, the 
command will be overridden when LCE launches the image with YARN's container 
launch script. 
 If a Docker image has an entry point set, the entry point will be honored, but 
the default command may be overridden, as just mentioned above. Unless the 
entry point is something similar to sh -c or 
YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE is set to true, the net 
result will likely be undesirable. Because the YARN container launch script is 
required to correctly launch the YARN task, use of entry points is discouraged. 
{code}

  was:
With the changes to allow disabling the YARN launch script in favor of running 
whatever is specified in the image, I think the following needs to be 
remove/updated. There is already a section called Docker Container ENTRYPOINT 
support. I think we can clean this up a bit make it easier to understand this 
feature. Given the need to explain YARN's existing launching logic, this also 
may be best for a follow on ticket as it will require some testing to fully 
describe the feature.
{code:java}
If a Docker image has a command set, the behavior will depend on whether the 
YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE is set to true. If so, the 
command will be overridden when LCE launches the image with YARN's container 
launch script. 
 If a Docker image has an entry point set, the entry point will be honored, but 
the default command may be overridden, as just mentioned above. Unless the 
entry point is something similar to sh -c or 
YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE is set to true, the net 
result will likely be undesirable. Because the YARN container launch script is 
required to correctly launch the YARN task, use of entry points is discouraged. 
{code}


> Cleanup ENTRYPOINT documentation
> --------------------------------
>
>                 Key: YARN-8624
>                 URL: https://issues.apache.org/jira/browse/YARN-8624
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Craig Condit
>            Priority: Minor
>              Labels: Docker
>
> With the changes to allow disabling the YARN launch script in favor of 
> running whatever is specified in the image, I think the following needs to be 
> remove/updated. There is already a section called Docker Container ENTRYPOINT 
> support. I think we can clean this up a bit make it easier to understand this 
> feature. This will likely require some testing to fully describe the feature.
> {code:java}
> If a Docker image has a command set, the behavior will depend on whether the 
> YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE is set to true. If so, the 
> command will be overridden when LCE launches the image with YARN's container 
> launch script. 
>  If a Docker image has an entry point set, the entry point will be honored, 
> but the default command may be overridden, as just mentioned above. Unless 
> the entry point is something similar to sh -c or 
> YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE is set to true, the net 
> result will likely be undesirable. Because the YARN container launch script 
> is required to correctly launch the YARN task, use of entry points is 
> discouraged. {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