Restarting a job

Restart a job to stop it and start it again, for example to apply a change to the job settings. You can restart a running job in one step, or run a stopped job again.

  1. In the Streaming SQL Console, click Projects in the left navigation pane, and click the name of your project.
    The project opens, with the Explorer panel on the left. To open the Streaming SQL Console, see Accessing Cloudera SQL Stream Builder.
  2. Restart the running job, or run the stopped job again.
    • To restart a running job, click the name of the job to open it in the SQL editor, and click Restart job. Cloudera SQL Stream Builder (SSB) stops the job, waits until it is Finished, and then runs it again with the saved SQL and settings.
    • To run a stopped job again, expand Jobs, open the menu of the job, and click Execute. The job is deployed and runs.
    The Restarting status does not apply to a restart that you request. It appears only when a job fails and automatic recovery (the restart strategy) is turned on.

Whether the job continues from its previous state depends on the Restore From Savepoint setting. When it is on, the job starts from the savepoint in the savepoint directory. When it is off, the job starts without state. For more information, see Managing savepoints for SQL jobs.