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

Rework setup&configuration of PythonPlanBinder/operators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0
    • API / Python
    • None

    Description

      The Python API has a few problems in regards to the setup and configuration.

      The PythonPlanBinder has several non-final static fields that store critical information; which python version to use, the path for the distributed cache, etc. that are directly accessed by operators instead of passing them on explicitly or storing them in a configuration.

      The naming of methods & arguments in the file setup phase (copy to local tmp location, upload to DFS, register at DC) is less readable than it could be.

      The binary path configuration can be stream-lined to use a single key instead of one each for python2 and python 3.

      Attachments

        Activity

          People

            chesnay Chesnay Schepler
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: