MapReduce服务 MRS-查询单个作业信息:响应示例

时间:2023-11-01 16:25:03

响应示例

状态码: 202

查询单个作业信息成功

{  "job_detail" : {    "job_id" : "431b135e-c090-489f-b1db-0abe3822b855",    "user" : "xxxx",    "job_name" : "pyspark1",    "job_result" : "SUCCEEDED",    "job_state" : "FINISHED",    "job_progress" : 100,    "job_type" : "SparkSubmit",    "started_time" : 1564626578817,    "submitted_time" : 1564626561541,    "finished_time" : 1564626664930,    "elapsed_time" : 86113,    "queue" : "default",    "arguments" : "[--class, org.apache.spark.examples.SparkPi, --driver-memory, 512MB, --num-executors, 1, --executor-cores, 1, --master, yarn-cluster, s3a://obs-test/jobs/spark/spark-examples_2.11-2.1.0.jar, 10000]",    "launcher_id" : "application_1564622673393_0006",    "app_id" : "application_1564622673393_0007",    "properties" : "{}"  }}

状态码: 500

查询单个作业信息失败

{  "error_msg" : "查询作业失败",  "error_code" : "0162"}
support.huaweicloud.com/api-mrs/ShowSingleJobExe.html