WeiZhong94 opened a new pull request #9655: [FLINK-14017][python] Support to 
start up Python worker in process mode.
URL: https://github.com/apache/flink/pull/9655
 
 
   ## What is the purpose of the change
   
   *This pull request reimplements the apache-beam container script `boot.go` 
in python with some minor changes to support the beam python worker running in 
process mode and avoid introducing go-lang dependencies to Flink.*
   
   ## Brief change log
   
     - *Add `boot.py`,  a python implementation of `boot.go` in 
"beam-sdks-python-container" project of Apache Beam for launching the python 
worker.*
     - *Different from `boot.go` of Apache Beam, `boot.py` supports specify the 
path of python executable file, and the default pip command is `python -m pip` 
instead of `/usr/local/bin/pip`.*
     - *Different from `boot.go` of Apache Beam, `boot.py` does not restrict 
the platform of user-specified apache beam sdk package to `linux`.*
   
   ## Verifying this change
   
   This change added tests and can be verified by running 
`flink/flink-python/pyflink/fn_execution/tests/test_process_mode_boot.py`.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)
     - If yes, how is the feature documented? (PythonDocs)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to