Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20262

Building flink-dist docker image does not work without python2

    XMLWordPrintableJSON

Details

    Description

      The script common_docker.sh in function start_file_server tests existence of python3, but executes command using python:

          command -v python3 >/dev/null 2>&1
          if [[ $? -eq 0 ]]; then
            python ${TEST_INFRA_DIR}/python3_fileserver.py &
            return
          fi
      

      The script python3_fileserver.py uses python2 SocketServer which does not exist in python3. It should use socketserver.

      Attachments

        Issue Links

          Activity

            People

              dwysakowicz Dawid Wysakowicz
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: