Stopping SQL stream jobs

Before upgrading your cluster, you need to stop your running jobs on the Jobs page of Streaming SQL Console, and stop all Flink and SQL Stream Builder related YARN sessions. Otherwise Flink will not be able to submit applications to YARN after upgrade.

  1. Navigate to the Streaming SQL Console.
    1. Go to your cluster in Cloudera Manager.
    2. Select SQL Stream Builder from the list of services.
    3. Click SQLStreamBuilder Console.
      The Streaming SQL Console opens in a new window.
  2. Open a project from the Projects page of Streaming SQL Console.
    1. Select an already existing project from the list by clicking the Open button or Switch button.
    2. Create a new project by clicking the New Project button.
    3. Import a project by clicking the Import button.
    You are redirected to the Explorer view of the project.
  3. Select Jobs on the homepage of your project.
  4. Click on at the jobs you want to stop.
    You can further filter down the results, by directly searching for the job name in the Search field.
  5. Click Stop.
    After you stop the SQL job on Streaming SQL Console, go back to Cloudera Manager to stop the YARN session.
  6. Navigate to the YARN Resource Manager to stop the SQL Stream Builder YARN job.
    1. Select YARN from the list of Services.
    2. Select YARN.
    3. Select Applications.
      The running SSB applications are displayed.
  7. Select the application you need to stop.
  8. Click Settings.
  9. Click Kill application.