Memanggil operasi GetTaskInstanceRelation untuk memperoleh informasi node dari catatan eksekusi alur tugas.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetTaskInstanceRelation |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DagId |
integer |
Yes |
ID alur tugas. Anda dapat memanggil operasi ListTaskFlow atau ListLhTaskFlowAndScenario untuk memperoleh nilai parameter ini. |
7*** |
| DagInstanceId |
integer |
Yes |
ID catatan eksekusi alur tugas (Id). Anda dapat memanggil operasi ListTaskFlowInstance untuk memperoleh nilai parameter ini. |
47**** |
| Tid |
integer |
No |
ID penyewa. Anda dapat memanggil operasi GetUserActiveTenant atau ListUserTenants untuk memperoleh nilai parameter ini. |
3*** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
028BF827-3801-5869-8548-F4A039256304 |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Pesan kesalahan. |
UnknownError |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| NodeList |
object |
||
| Node |
array<object> |
Daftar informasi node dari catatan eksekusi alur tugas. |
|
|
object |
Daftar informasi node dari catatan eksekusi. |
||
| Id |
integer |
The ID of the execution record of the task flow. |
14059 |
| NodeId |
integer |
The ID of the node. |
14059 |
| NodeName |
string |
The name of the node. |
Spark SQL-1 |
| NodeType |
integer |
The type of the node. For more information about the valid values for this parameter, see NodeType parameter. |
SPARK_SQL |
| BusinessTime |
string |
The business time of the node. |
2021-11-09 14:37:26 |
| Status |
integer |
The status of the node. Valid values:
|
4 |
| Message |
string |
The description of the task. |
test |
| ExecuteTime |
integer |
The amount of time consumed for running the node. Unit: milliseconds. |
170655 |
| EndTime |
string |
The time when the execution of the task flow was complete. The time is displayed in the yyyy-MM-DD HH:mm:ss format. |
2021-11-11 14:38:57 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "028BF827-3801-5869-8548-F4A039256304",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"NodeList": {
"Node": [
{
"Id": 14059,
"NodeId": 14059,
"NodeName": "Spark SQL-1",
"NodeType": 0,
"BusinessTime": "2021-11-09 14:37:26",
"Status": 4,
"Message": "test",
"ExecuteTime": 170655,
"EndTime": "2021-11-11 14:38:57"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.