You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "bvolpato (via GitHub)" <gi...@apache.org> on 2023/07/07 17:56:10 UTC

[GitHub] [beam] bvolpato opened a new issue, #27395: [Bug]: [TextIO] Prevent threads from hanging indefinitely

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

   ### What happened?
   
   Recently observed the case where TextIO / WriteFiles was hanging indefinitely on `@FinishBundle`:
   
   https://github.com/apache/beam/blob/release-2.48.0/sdks/java/core/src/main/java/org/apache/beam/sdk/io/WriteFiles.java#L1021-L1034
   
   We are doing `MoreFutures.get(MoreFutures.allAsList(closeFutures))`, and for some reason, threads are not completing.
   
   I believe we should investigate adding a reasonable timeout (`MoreFutures.get(MoreFutures.allAsList(closeFutures), 1, TimeUnit.HOURS)`?) to avoid having jobs hanging forever. The work will be retried, so it shouldn't cause any data loss.
   
   
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org