Non-streaming jobs, Beam and Checkpointing
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 581
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm trying to use the flinkk8soperator with Beam (with Flink being the runner).
The operator is able to launch the Job Manager and Task manager pods and can submit the job as well. It works fine for streaming applications.
However, when I try to run a batch application, it turns out that Beam does not enable checkpointing in Flink.
The k8s operator, however, assumes that checkpointing is turned on, and throws an error as the checkpoint API returns a HTTP 404.
https://github.com/lyft/flinkk8soperator/blob/f499e7f2ff5c2f7b2e84e458d08ffdb1df2d22b9/pkg/controller/flink/flink.go#L535
Is it possible to let the operator know somehow that checkpoints are not enabled, and that a 404 error on the checkpoint API is not fatal?
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at pkg/controller/flink/flink.go around line 535, where the operator treats the checkpoint API response as an error. Read the linked Apache Flink CheckpointingStatisticsHandler and Apache Beam FlinkExecutionEnvironments.java references to understand when checkpointing is absent. Done means batch jobs without checkpointing no longer fail because the checkpoint API returns HTTP 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100