Performing Operations on a Job
After a job is created, you can perform operations on the job as required.
Editing a Job
You can edit a created job, for example, by modifying the SQL statement, job name, job description, or job configurations.
- In the navigation tree on the left pane of the CS management console, choose Job Management to switch to the Job Management page.
- In the row where the job you want to edit is located, click Edit in the Operation column to switch to the Edit page.
- Edit the job as required.
For details about the Edit page for Flink streaming SQL jobs, see Creating a Flink Streaming SQL Job.
For details about the Edit page for Flink streaming SQL edge jobs, see Creating a Flink Streaming SQL Edge Job.
For details about the Edit page for user-defined Flink jobs, see Creating a User-Defined Flink Job.
For details about the Edit page for user-defined Spark jobs, see Creating a User-Defined Spark Job.
Starting Jobs
To start jobs that have been created or stopped, follow the following steps:
- In the navigation tree on the left pane of the CS management console, choose Job Management to switch to the Job Management page.
- Use either of the following methods to start jobs:
- Starting a single job
Locate the row where the job you want to start resides and click Start in the Operation column. Alternatively, you can select the row where the job you want to start resides and click OK in the upper left of the job list.
- Batch starting jobs
Select the rows where the jobs you want to start reside and click Start in the upper left of the job list.
- Starting a single job
- On the page, click OK.
After a job is started, its status is displayed in the Status column on the Job Management page.
Job Configurations
Upon submitting a job or starting a job, you need to confirm the job prices.
- You will enter the Job Configurations page after submitting a job on the Job Management page or after starting a job on the Job Management page.
- Submit a job on the Edit page
- In the navigation tree on the left pane of the CS management console, choose to switch to the Job Management page.
- In the row where the job you want to edit is located, click Edit in the Operation column to switch to the Edit page.
- Edit SQL statements and configure parameters on the page.
- Click Submit to switch to the page.
- Start a job on the Job Management page
- In the navigation tree on the left pane of the CS management console, choose to switch to the Job Management page.
- In the row where the job you want to start is located, click Start in the Operation column to switch to the page.
On the page, you can click Pricing details to view the product pricing details.
- Submit a job on the Edit page
- (Optional) Click Price Calculator in the lower right corner.
- You can view the pricing details by clicking Pricing details.
- Find out how the price adds up on the Price Calculator page.
On the Price Calculator page, you can obtain the optimal product configuration through multiple tries.
- (Optional) Click Cancel to cancel the operation of running a job.
- Click OK to submit the job.
Stopping Jobs
You can stop a job in the Running or Submitting state.
- In the navigation tree on the left pane of the CS management console, choose Job Management to switch to the Job Management page.
- Stops jobs. Perform either of the following methods to stop jobs:
- Stopping a job
Locate the row where the job you want to stop resides and click in the Operation column.
Alternatively, you can select the row where the job you want to stop resides and click Stop in the upper left of the job list.
- Stopping jobs in batches
Locate the rows where the jobs you want to stop reside and click Stop in the upper left of the job list.
- Stopping a job
- In the displayed dialog box, click OK.
- Before stopping a job, you can create a savepoint to save the job status. When you start the job again, you can choose whether to restore the job from the savepoint.
indicates to create a savepoint.
indicates that no savepoint is created. By default, the savepoint function is disabled.- The savepoint lifecycle describes a savepoint goes through from when it is created for a job that is to be stopped until it finally is deleted. The savepoint is automatically deleted after the job is restarted.
During the procedure of stopping jobs, the following Status settings may appear:- Stopping: indicates that the job is being stopped.
- Stopped: indicates that the job is stopped successfully.
- Stop failed: indicates that the job failed to be stopped.
Deleting Jobs
If you do not need to use a job, perform the following operations to delete it. A deleted job cannot be restored. Therefore, exercise caution when deleting a job.
- In the left navigation pane of the CS management console, choose Job Management to switch to the Job Management page.
- Perform either of the following methods to delete jobs:
- Deleting a single job
Locate the row where the job you want to delete resides and click in the Operation column.
Alternatively, you can select the row where the job you want to delete resides and click Delete in the upper left of the job list.
- Deleting jobs in batches
Select the rows where the jobs you want to delete reside and click Delete in the upper left of the job list.
- Deleting a single job
- Click OK.
Last Article: Data Visualization
Next Article: Monitoring a Job
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.