apache / apache/beam

[Task]: Improve bundle strategy for direct runner

Open
#25,211 1 comment 0 reactions 0 assignees View on GitHub
direct io java P3 task
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What needs to happen?

It is found in some cases, elements incoming for Java direct runner are not bundled, i.e., all in bundle size = 1. Some flakiness in our unit test is likely due to this issue. For example, it is found that BigQueryWriterTest is flaky due to intermittent time out (context #25207) the issue is traced down to fact that some batch load and file load tests concurrently write thousand of files locally.

e.g. https://ci-beam.apache.org/job/beam_PreCommit_Java_GCP_IO_Direct_Phrase/57/testReport/junit/org.apache.beam.sdk.io.gcp.bigquery/BigQueryIOWriteTest/testWriteDynamicDestinationsBatchWithSchemas_0_/

the complete log will show (tested locally) 2,000 lines of org.apache.beam.sdk.io.gcp.bigquery.BigQueryRowWriter log. Since the largest concurrent file open is limited, test sometimes get stuck

### Issue Priority

Priority: 3 (nice-to-have improvement)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.