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

Building flink-dist docker image does not work without python2

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment