All Products
Search
Document Center

DataWorks:GetDIJobLog

Last Updated:Dec 05, 2024

Obtains logs generated for a synchronization task.

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
DIJobIdlongYes

The ID of the synchronization task.

10000
InstanceIdlongNo

The instance ID.

6153616438
FailoverIdlongNo

The failover ID.

10

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.