[
https://issues.apache.org/jira/browse/BEAM-6666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maximilian Michels resolved BEAM-6666.
--------------------------------------
Resolution: Fixed
Fix Version/s: 2.12.0
> subprocess.Popen hangs after use of gRPC channel
> ------------------------------------------------
>
> Key: BEAM-6666
> URL: https://issues.apache.org/jira/browse/BEAM-6666
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Heejong Lee
> Assignee: Heejong Lee
> Priority: Major
> Fix For: 2.12.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> subprocess.Popen randomly hangs after use of gRPC channel. This makes
> cross-language wordcount test fail because the test uses Popen to launch
> Dockerized Flink job server in `PortableRunner.run_pipeline` after use of
> gRPC channel for the expansion service in `ExternalTransform.expand`. Few
> symptoms are listed below:
> * Hanging at `docker_path = check_output(['which', 'docker']).strip()`
> * Hanging at `self.docker_process = Popen(cmd)`
> * Crashing with `assertion failed: pthread_mutex_lock(mu) == 0` message
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)