All Products
Search
Document Center

DataWorks:GetDIJobLog

Last Updated:Mar 26, 2025

Obtains logs generated for a synchronization task.

Operation description

This API operation is available for all DataWorks editions.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
IdlongNo

The ID of the synchronization task.

10000
InstanceIdlongNo

The instance ID.

6153616438
FailoverIdlongNo

The failover ID.

10
DIJobIddeprecatedlongNo

This parameter is deprecated. Use the Id parameter instead.

10000
PageNumberintegerNo

The page number of the pagination query. The value is a positive integer greater than or equal to 1.

1
NodeTypestringNo

The type of the node. This parameter is applicable only to the tasks that are run on serverless resource groups. Valid values:

  • MASTER: the master node, which is used to query the logs of JobManagers.
  • WORKER: the worker node, which is used to query the logs of TaskManagers.
MASTER

Response parameters

ParameterTypeDescriptionExample
object

The logs that are returned.

Logstring

The log.

>>>>>>>> stdout:n++++++++++++++++++executing sql: create database if not exists jindo_test location 'oss://pangbei-hdfs/tmp/hive' n++n
RequestIdstring

The request ID. You can use the ID to query logs and troubleshoot issues.

1AFAE64E-D1BE-432B-A9****

Examples

Sample success responses

JSONformat

{
  "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

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-02-17The request parameters of the API has changedView Change Details
2025-01-06The request parameters of the API has changedView Change Details