You can call this operation to view the details of a job.

Request parameters

Name Type Required Example Description
Id String Yes FJ-BCCAE48B90CCB37B The ID of the job.
ProjectId String Yes FP-257A173659F59685 The ID of the project.
RegionId String Yes cn-hangzhou The ID of the region.

Response parameters

Name Type Example Description
RequestId String 1549175a-6d14-4c8a-89f9-5e28300f6d7e The ID of the request.
Id String FJ-BCCAE48B90CCB37B The ID of the job.
GmtCreate Long 1538017814000 The creation time.
GmtModified Long 1538017814000 The modification time.
Name String Name The name of the job.
Type String SHELL The type of the job. Valid values: MR, SPARK, HIVE_SQL, HIVE, PIG, SQOOP, SPARK_SQL, SPARK_STREAMING, and SHELL.
Description String "This is a job description." The description of the job.
FailAct String CONTINUE The action to take after failure. Valid values: STOP and CONTINUE.
MaxRetry Integer 5 The maximum number of retries. Valid values: 0 to 5.
RetryInterval Long 200 The interval between retries. Valid values: 0 to 300. Unit: seconds.
Params String ls -l The content of the job.
ParamConf String {"date":"${yyyy-MM-dd}"} The configurations of the parameters.
EnvConf String {"key":"value"} The configurations of the environment variables.
RunConf String {"priority":1,"userName":"hadoop","memory":2048,"cores":1} The run configurations. priority: The priority to run the instance. userName: The Linux user that submits the instance. memory: The size of the allocated memory for running the instance. Unit: megabytes. cores: The number of allocated vCPUs for running the instance.
MonitorConf String {"inputs":[{"type":"KAFKA","clusterId":"C-1234567","topics":"kafka_topic","":"kafka_consumer_group"}],"outputs":[{"type":"KAFKA","clusterId":"C-1234567","topics":"kafka_topic"}]} The monitoring configurations. Only jobs of the SPARK_STREAMING type are supported.
CategoryId String FC-5BD9575E34623940 The category ID of the job.
mode String YARN The mode of the model. Valid values: YARN and LOCAL.
LastInstanceId String FJI-ACCAE48B90CCB37B The ID of the last instance that is run.
Adhoc String true Indicates whether the instance is an ad-hoc query.
ResourceList The list of the resources.
Path String oss://path/demo.jar The path of the resource.
Alias String demo.jar The alias of the resource.


  • Sample requests
    /? Id=FJ-BCCAE48B90CCB37B
    &<Common request parameters>
  • Successful response examples
    JSON format
    	"Params":"ls -l",
  • Error response examples
    JSON format
    	"message":"Flow Job does not exist [FJ-A10DB75C7D62A]",

Error codes

View error codes.