Updated on 2023-05-16 GMT+08:00

Overview

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

  DLI spark job submission and query jod 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.