You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "jto (via GitHub)" <gi...@apache.org> on 2023/09/22 14:13:04 UTC
[GitHub] [beam] jto opened a new issue, #28617: [Task]: Merge Flink runner translations ?
jto opened a new issue, #28617:
URL: https://github.com/apache/beam/issues/28617
### What needs to happen?
Currently the Flink runner has 4 alternative implementations to translate a pipeline.
- `FlinkStreamingTransformTranslators`
Based on `DataStream` API. Only support streaming workflows. It can also support batch workflows once #28614 is merged. It uses the "native" `org.apache.beam.sdk.Pipeline` class and the implementation is based on Flink's `DataStream` API.
- `FlinkStreamingPortablePipelineTranslator`, used for portable streaming pipelines. It has a lot of "overlap" (copy/pasted code) with `FlinkStreamingTransformTranslators` but supports a slightly different set of transforms. Based on Flink `DataStream` API too.
- `FlinkBatchPortablePipelineTranslator` -> Used for batch portable pipelines. Based on the deprecated `DataSet` API.
- `FlinkBatchTransformTranslators` -> Used for batch "native" java pipelines. . Based on the deprecated `DataSet` API.
`FlinkBatchPortablePipelineTranslator` and `FlinkBatchTransformTranslators` should both be deprecated since the are implemented using the deprecated `DataSet` API which Flink will eventually remove. `FlinkBatchTransformTranslators` can be replaced by `FlinkStreamingTransformTranslators` (#28614).
Given the similarities between the classes, I *think* `FlinkStreamingTransformTranslators` and `FlinkStreamingPortablePipelineTranslator` could be merged to support both portable and non portable pipelines with a unique translation layer.
Since we can easily convert instances of `org.apache.beam.sdk.Pipeline` to `RunnerAPI.Pipeline`, it should be possible to support streaming and batch, "native" and portable runners with the same translation implementation.
The goal of this task is to introduce this new unique implementation and to eventually remove all the other alternative.
Assuming this proposal is of interest, my colleagues and myself could implement it.
### Issue Priority
Priority: 3 (nice-to-have improvement)
### Issue Components
- [ ] Component: Python SDK
- [ ] 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
- [X] 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
Re: [I] [Task]: Merge Flink runner translations ? [beam]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #28617: [Task]: Merge Flink runner translations ?
URL: https://github.com/apache/beam/issues/28617
--
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
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Task]: Merge Flink runner translations ? [beam]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #28617:
URL: https://github.com/apache/beam/issues/28617#issuecomment-4946024547
This issue has been marked as stale due to 150 days of inactivity. It will be closed in 30 days if no further activity occurs. If you think that’s incorrect or this issue still needs to be addressed, please simply write any comment. If closed, you can reopen the issue at any time. Thank you for your contributions.
--
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
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Task]: Merge Flink runner translations ? [beam]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #28617:
URL: https://github.com/apache/beam/issues/28617#issuecomment-5253383786
This issue has been closed due to lack of activity. If you think that is incorrect, you can reopen the issue at any time.
--
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
For queries about this service, please contact Infrastructure at:
users@infra.apache.org