[ 
https://issues.apache.org/jira/browse/BEAM-6666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767757#comment-16767757
 ] 

Heejong Lee commented on BEAM-6666:
-----------------------------------

multiple related issues are reported to gRPC since 2017 but the problem doesn't 
look fundamentally fixed.
 * [https://github.com/grpc/grpc/issues/17986]
 * [https://github.com/grpc/grpc/issues/13873]
 * [https://github.com/grpc/grpc/issues/13998]
 * [https://github.com/grpc/grpc/issues/15334]
 * [https://github.com/grpc/grpc/issues/15557]

 

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

Reply via email to