You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dian Fu (Jira)" <ji...@apache.org> on 2020/04/21 06:44:00 UTC

[jira] [Closed] (FLINK-15078) Report Python version exceptions in time

     [ https://issues.apache.org/jira/browse/FLINK-15078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dian Fu closed FLINK-15078.
---------------------------
    Resolution: Invalid

Close this issue as it should doesn't exist any more after bump Beam to 2.19.0 (FLINK-15875)

> Report Python version exceptions in time
> ----------------------------------------
>
>                 Key: FLINK-15078
>                 URL: https://issues.apache.org/jira/browse/FLINK-15078
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Python
>            Reporter: sunjincheng
>            Priority: Minor
>             Fix For: 1.11.0
>
>         Attachments: flink-jincheng.sunjc-python-udf-boot-jincheng.local.log
>
>
> Do not report Python version exceptions in time when Using the Python2.7 in flink 1.10.
> We should do the follows config:
> {code}
> t_env.get_config().set_python_executable("python3")
> {code}
> although we can fix this issue by config, bug I think it's better to report Python version exceptions in time. 
> Shot error message:
> {code}
> RuntimeError: Python versions prior to 3.5 are not supported for PyFlink [sys.version_info(major=2, minor=7, micro=16, releaselevel='final', serial=0)].
> {code}
> The detail info can be found in Attachment.



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