kennknowles opened a new issue, #19579:
URL: https://github.com/apache/beam/issues/19579

   Currently, job servers are shut down when the Python script exits [1]. A 
better long-term solution would be to shut them down instead when the pipeline 
is finished executing, such as [2]. This will put resource management in a 
common code path that is less error-prone.
   
    
   
   [1] 
[https://github.com/apache/beam/blob/c5f43342f914fc8ff367b86fb9294c38436ed3ce/sdks/python/apache_beam/runners/portability/job_server.py#L73](https://github.com/apache/beam/blob/c5f43342f914fc8ff367b86fb9294c38436ed3ce/sdks/python/apache_beam/runners/portability/job_server.py#L73)
   
   [2] 
[https://github.com/apache/beam/blob/c5f43342f914fc8ff367b86fb9294c38436ed3ce/sdks/python/apache_beam/runners/portability/portable_runner.py#L451](https://github.com/apache/beam/blob/c5f43342f914fc8ff367b86fb9294c38436ed3ce/sdks/python/apache_beam/runners/portability/portable_runner.py#L451)
   
   Imported from Jira 
[BEAM-8103](https://issues.apache.org/jira/browse/BEAM-8103). Original Jira may 
contain additional context.
   Reported by: ibzib.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to