Viewing Running Status of a Real-Time Job
Function
This API is used to view running status of a real-time job.
URI
- Parameter description
Table 1 URI parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID. For details about how to obtain a project ID, see Project ID and Account ID.
job_name
Yes
String
Job name
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
workspace |
No |
String |
Workspace ID.
|
Response Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
name |
Yes |
String |
Solution name |
nodes |
No |
List |
Node status list |
status |
No |
String |
Job status
|
startTime |
Yes |
Date |
Start time |
endTime |
No |
Date |
End time |
lastUpdateTime |
No |
Date |
Last update time |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
name |
Yes |
String |
Node name |
status |
No |
String |
Node status.
|
logPath |
No |
String |
Path for storing node run logs. |
type |
Yes |
String |
Node type
|
Example Request
GET /v1/b384b9e9ab9b4ee8994c8633aabc9505/jobs/job_sms/status
Example Response
- Success response
{ "name": "job_sms", "nodes": [ { "bufferRecords": 0, "jobInstanceId": 0, "LastInstanceStatus": "waiting", "name": "MRS_Flink_Job_8635", "speed": 0, "totalGetBytes": 0, "totalGetRecords": 0, "totalPutBytes": 0, "totalPutRecords": 0 } ], "status": "NORMAL" }
- Failure response
{ "error_code":"DLF.0100", "error_msg":"The job does not exists." }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot