Stopping a DLI Spark Job
Run the ma-cli dli-job stop command to stop a DLI Spark job.
$ ma-cli dli-job stop -h
Usage: ma-cli dli-job stop [OPTIONS]
Stop DLI spark job by job id.
Example:
Stop training job by job id
ma-cli dli-job stop --job-id ${job_id}
Options:
-i, --job-id TEXT Get DLI spark job event by job id. [required]
-y, --yes Confirm stop operation.
-C, --config-file TEXT Configure file path for authorization.
-D, --debug Debug Mode. Shows full stack trace when error occurs.
-P, --profile TEXT CLI connection profile to use. The default profile is "DEFAULT".
-H, -h, --help Show this message and exit. | Parameter | Type | Mandatory | Description |
|---|---|---|---|
| -i / --job-id | String | Yes | DLI Spark job ID |
| -y / --yes | Bool | No | Whether to forcibly stop a specified DLI Spark job |
Examples
ma-cli dli-job stop -i ${your_job_id} 
Last Article: Uploading Local Files or OBS Files to a DLI Group
Next Article: Using ma-cli to Copy OBS Data
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.