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

Report Python version exceptions in time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • 1.11.0
    • API / Python
    • None

    Description

      Do not report Python version exceptions in time when Using the Python2.7 in flink 1.10.

      We should do the follows config:

      t_env.get_config().set_python_executable("python3")
      

      although we can fix this issue by config, bug I think it's better to report Python version exceptions in time.

      Shot error message:

      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)].
      

      The detail info can be found in Attachment.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sunjincheng121 sunjincheng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: