更新时间:2024-04-30 GMT+08:00

查询DLI Spark运行日志

执行ma-cli dli-job get-log命令查询DLI Spark作业后台的日志。

$ ma-cli dli-job get-log -h
Usage: ma-cli dli-job get-log [OPTIONS]

  Get DLI spark job log details.

  Example:

  # Get job log by job id
  ma-cli dli-job get-log --job-id ${job_id}

Options:
  -i, --job-id TEXT       Get DLI spark job details by job id.  [required]
  -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.
表1 参数说明

参数名

参数类型

是否必选

参数说明

-i / --job-id

String

查询指定DLI Spark作业ID的任务日志。

示例

查询指定作业ID的DLI Spark作业运行日志。

ma-cli dli-job get-log --job-id ${your_job_id}