You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Wei Zhong (Jira)" <ji...@apache.org> on 2020/07/03 02:18:00 UTC

[jira] [Commented] (FLINK-18476) PythonEnvUtilsTest#testStartPythonProcess fails locally

    [ https://issues.apache.org/jira/browse/FLINK-18476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17150677#comment-17150677 ] 

Wei Zhong commented on FLINK-18476:
-----------------------------------

Hi [~dwysakowicz], could you provide a detailed exception information? The Bash alias would not works for this test because it is a configuration of the Bash, and PyFlink starts the Python process directly instead of using 'bash -c'.

> PythonEnvUtilsTest#testStartPythonProcess fails locally 
> --------------------------------------------------------
>
>                 Key: FLINK-18476
>                 URL: https://issues.apache.org/jira/browse/FLINK-18476
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python, Tests
>    Affects Versions: 1.11.0
>            Reporter: Dawid Wysakowicz
>            Priority: Major
>
> The {{org.apache.flink.client.python.PythonEnvUtilsTest#testStartPythonProcess}} failed in my local environment as it assumes the environment has {{/usr/bin/python}}. 
> I don't know exactly how did I get python in Ubuntu 20.04, but I have only alias for {{python = python3}}. Therefore the tests fails.



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