Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0, 3.1.1
    • Fix Version/s: 3.2.0, 3.1.1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      YARN-8274 occurred because get_docker_command's helper functions each have to remember to put the docker binary as the first argument. This is error prone and causes code duplication for each of the helper functions. It would be safer and simpler if get_docker_command initialized the docker binary argument in one place and each of the helper functions only added the arguments specific to their particular docker sub-command.

        Attachments

        1. YARN-8284.002.patch
          25 kB
          Eric Badger
        2. YARN-8284.001.patch
          24 kB
          Eric Badger

          Issue Links

            Activity

              People

              • Assignee:
                ebadger Eric Badger
                Reporter:
                jlowe Jason Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: