Updated on 2024-10-29 GMT+08:00

ma-cli dli-job Commands for Submitting DLI Spark Jobs

$ma-cli dli-job -h
Usage: ma-cli dli-job [OPTIONS] COMMAND [ARGS]...

  DLI spark job submission and query job details.

Options:
  -h, -H, --help  Show this message and exit.

Commands:
  get-job       Get DLI spark job details.
  get-log       Get DLI spark log details.
  get-queue     Get DLI spark queues info.
  get-resource  Get DLI resources info.
  stop          Stop DLI spark job by job id.
  submit        Submit dli spark batch job.
  upload        Upload local file or OBS object to DLI resources.
Table 1 Commands for submitting DLI Spark jobs

Command

Description

get-job

Obtain DLI Spark jobs and their details.

get-log

Obtain runtime logs of a DLI Spark job.

get-queue

Obtain DLI queues.

get-resource

Obtain DLI group resources.

stop

Stop a DLI Spark job.

submit

Submit a DLI Spark job.

upload

Upload local files or OBS files to a DLI group.