GetDIJobLog
Retrieves the task logs of a data integration node.
Operation description
You must purchase DataWorks Basic Edition or a higher edition to use this operation.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
No |
The node ID. |
10000 |
| InstanceId |
integer |
No |
The instance ID. |
6153616438 |
| FailoverId |
integer |
No |
The failover ID. |
10 |
DIJobId
deprecated
|
integer |
No |
[Deprecated] This parameter is deprecated. Use the Id parameter instead. |
10000 |
| PageNumber |
integer |
No |
The page number for paging. The value must be a positive integer greater than or equal to 1. |
1 |
| NodeType |
string |
No |
The node type. This parameter is applicable only to tasks that run on resource group 2.0. Valid values:
|
MASTER |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The log content returned. |
||
| Log |
string |
The task logs. |
>>>>>>>> stdout:n++++++++++++++++++executing sql: create database if not exists jindo_test location 'oss://pangbei-hdfs/tmp/hive' n++n |
| RequestId |
string |
The request ID. You can use this ID to locate logs and troubleshoot issues. |
1AFAE64E-D1BE-432B-A9**** |
Examples
Success response
JSON format
{
"Log": ">>>>>>>> stdout:n++++++++++++++++++executing sql: create database if not exists jindo_test location 'oss://pangbei-hdfs/tmp/hive' n++n",
"RequestId": "1AFAE64E-D1BE-432B-A9****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.