Job lifecycle

A job moves through a series of states from the time you run it until it stops. The status icon next to the job name in the Explorer panel indicates the current state.

Job states

Table 1. Job states
State Meaning
Created The job is saved and has not run yet.
Processing Request Cloudera SQL Stream Builder (SSB) received your request to run the job.
Deploying Job SSB is creating the Flink resources for the job.
Initializing The Flink cluster is starting the job.
Reconciling The Flink Kubernetes Operator is bringing the job to the state that SSB requested.
Running The job is processing data.
Failing The job encountered an error and is shutting down.
Failed The job stopped because of an error.
Stopping SSB is stopping the job.
Restarting The job failed, and automatic recovery (the restart strategy) is turned on, so Flink restarts the job. If automatic recovery is turned off, a failed job moves to Failed. A restart that you request does not show this status.
Finished The job stopped and is not running.
Out Of Sync SSB has not received a recent status for the job from the cluster.

State transitions

A typical job moves from Created through Processing Request, Deploying Job, and Initializing to Running. When you stop it, it moves through Stopping to Finished. A job that encounters an error moves through Failing to Failed.

From Finished and Failed, you can run the job again. If Restore From Savepoint is set in the job settings, the job restores its state from the savepoint when it starts. For more information, see Managing savepoints for SQL jobs.

For the steps to change the state of a job, see Stopping a job and Restarting a job.