- Home
- Use cases
- Cloudera streaming
- Cloudera Streaming Analytics: Upgrading Flink Jobs Safely
Cloudera Streaming Analytics: Upgrading Flink Jobs Safely
A savepoint and rollback runbook for moving stateful Flink jobs to a new release.
The challenge
What teams are up against
Typical situation, not a client: an insurer runs stateful Flink jobs that feed claims decisions. The platform is moving to a newer release and the team is unsure how to upgrade the jobs without losing state or dropping events.
Our approach
How we deliver it, step by step
- 01
Inventory the jobs
List each job, its state size, its source and sink topics and the people who depend on its output.
- 02
Take a savepoint
Take a savepoint of each running job before any change. A savepoint is a saved copy of job state that a job can restart from.
- 03
Test the restore on a copy
Start the job from the savepoint on a test cluster at the target release and compare its output with production.
- 04
Cut over in order
Upgrade the least critical jobs first. Stop each job with a savepoint, upgrade, restore and check lag before the next.
- 05
Keep the way back
Keep the old release and each savepoint until the job has run cleanly for an agreed period. Write the rollback steps down.
Architecture
The components involved
From the top of the stack down
Jobs run on Cloudera Streaming Analytics on CDP Private Cloud Base and read Kafka topics in Streams Messaging. Savepoints are stored on storage outside the job so they survive a failed upgrade. The runbook is the design record: job inventory, savepoint location, test result and rollback owner.
Outcomes
What changes when it is in place
No job is upgraded without a saved state it can return to.
The order of cutover is written and tested.
Rollback steps have an owner.
Downstream teams know when each job pauses.
Why Duczer East
Senior practitioners, from scope to delivery
We treat the upgrade as a rehearsed change, with state saved first and the way back documented.
About Duczer EastFAQ
Questions we are asked about this
What is a Flink savepoint?
A savepoint is a saved copy of a job's state taken on request. A job can be restarted from it after an upgrade or a change to the job code.
Can we upgrade Flink jobs without downtime?
Not always. A stateful job is usually stopped with a savepoint and restarted, so plan a short pause and tell downstream teams.
Related use cases
More problems we solve this way
Use cases on the same platform or for the same industries. Browse all use cases.
Cloudera Streaming Analytics: Real-Time Fraud Scoring
A latency budget splits the time from event to decision across each step of a Flink scoring job.
Read use caseCloudera Flow Management: Governing Hundreds of Flows
An ownership and versioning model keeps a large NiFi estate readable and safe to change.
Read use caseCloudera Flow Management: Claims File Ingest for a Payer
A NiFi flow with provenance checkpoints that traces each claims file from arrival to landing.
Read use caseAI Governance: Choose a Platform After a Tooling Sprint
Score three trial tools against the firm's own control list, then connect the winner to the gateway log.
Read use caseAI Readiness Assessment: A Fixed-Scope Data Review in 2 to 4 Weeks
Find out whether your data is ready for AI before you build. Fixed scope, 2 to 4 weeks, and a plan sized against facts.
Read use caseAI Governance: Build an AI Use Case Inventory with Risk Tiers
One register of every AI use case, with owner, purpose, data, systems and a risk tier that drives how much validation each one gets.
Read use caseRelated insights
Further reading from our practitioners
Analysis and guides on the questions this use case raises. All insights.
GuideEvent-driven architecture explained: queues, streams and APIs
Practical design decisions for production systems in regulated firms
Cloudera SDX explained: components, support questions and when to get help
What it is, what is in it and when you need help
Cloudera Data Services 1.x vs 2.0: how to decide what to run
What the public documentation shows, and what to confirm before you commit
Let's Talk
Talk through this use case
Tell us about your systems and where you are today. A senior practitioner replies, and only your email is required.


