Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8472 YARN Container Phase 2
  3. YARN-8805

Automatically convert the launch command to the exec form when using entrypoint support

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None

    Description

      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:

      "/usr/bin/sleep 6000"

      must be changed to:

      "/usr/bin/sleep,6000"

      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.

      Attachments

        1. YARN-8805.001.patch
          2 kB
          Eric Yang
        2. YARN-8805.004.patch
          5 kB
          Eric Yang
        3. YARN-8805.005.patch
          5 kB
          Eric Yang
        4. YARN-8805.006.patch
          5 kB
          Eric Yang
        5. YARN-8805.007.patch
          8 kB
          Eric Yang
        6. YARN-8805.008.patch
          8 kB
          Eric Yang
        7. YARN-8805.009.patch
          8 kB
          Eric Yang

        Activity

          People

            eyang Eric Yang
            shanekumpf@gmail.com Shane Kumpf
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: