• Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.1.2
    • Component/s: None
    • Labels:
    • Target Version/s:


      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.

      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. 


        1. YARN-8624.001.patch
          2 kB
          Craig Condit

          Issue Links



              • Assignee:
                ccondit-target Craig Condit
                ccondit-target Craig Condit
              • Votes:
                0 Vote for this issue
                4 Start watching this issue


                • Created: