Dawid Wysakowicz created FLINK-20262:
----------------------------------------

             Summary: Building flink-dist docker image does not work without 
python2
                 Key: FLINK-20262
                 URL: https://issues.apache.org/jira/browse/FLINK-20262
             Project: Flink
          Issue Type: Bug
          Components: Build System
    Affects Versions: 1.11.2, 1.12.0
            Reporter: Dawid Wysakowicz
            Assignee: Dawid Wysakowicz
             Fix For: 1.12.0, 1.11.4


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

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

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to