This topic addresses common questions about batch synchronization.
Overview
You can find common issues and their solutions by matching keywords.
Network connectivity
Why does the data source connectivity test succeed, but the batch synchronization task fails with a data source connection error?
Batch synchronization task intermittently succeeds and fails
Resource settings
Batch synchronization task fails with error: [TASK_MAX_SLOT_EXCEED]:Unable to find a gateway that meets resource requirements. 20 slots are requested, but the maximum is 16 slots.
Batch synchronization task fails with error: OutOfMemoryError: Java heap space
Instance run conflicts
Batch synchronization task fails with error: Duplicate entry 'xxx' for key 'uk_uk_op'
Run timeout
Batch synchronization task with MongoDB as the source fails with error: MongoDBReader$Task - operation exceeded time limitcom.mongodb.MongoExecutionTimeoutException: operation exceeded time limit.
Batch synchronization task with MySQL as the data source fails with connection timeout error: Communications link failure
How do I troubleshoot a batch synchronization task that takes a long time to run?
What to do when a data synchronization task is slowed by a full table scan due to an unindexed WHERE clause?
Switch resource group
How do I switch the execution resource group for a batch synchronization task?
Dirty data
How do I troubleshoot and locate dirty data?
How do I view dirty data?
If the amount of dirty data exceeds the limit during a batch synchronization task, is the already synchronized data retained?
How do I handle dirty data errors caused by encoding format settings or garbled characters?
Retention of default values
Does Data Integration preserve properties, such as default values and not-null constraints, when it creates a destination table?
Split key
Can a composite primary key be used as a split key in a batch synchronization task?
Missing data
Data synchronization completes but the destination table data is inconsistent with the source table data
SSRF attacks
Task has SSRF attacks Task have SSRF attacks How do I handle this?
Date writing
How do I preserve milliseconds or specify a custom date-time format when writing date-time data to text?
MaxCompute
Notes for adding a row or column in the column mapping when reading MaxCompute (ODPS) table data
How do I synchronize partition columns when reading MaxCompute (ODPS) table data?
How do I synchronize data from multiple partitions when reading MaxCompute (ODPS) table data?
How to implement column filtering, reordering, and null filling for MaxCompute
Handling MaxCompute column configuration errors
MaxCompute partition configuration notes
MaxCompute task rerun and failover
Reading MaxCompute (ODPS) table data fails with error: The download session is expired.
Writing to MaxCompute (ODPS) fails with block error: Error writing request body to server
MySQL
How to synchronize sharded MySQL tables to a single MaxCompute table
How do I handle garbled Chinese characters when synchronizing to a MySQL table with utf8mb4 character set?
Writing to/reading from MySQL fails with error: Application was streaming results when the connection failed. Consider raising value of 'net_write_timeout/net_read_timeout' on the server.
Batch synchronization to MySQL fails with error: [DBUtilErrorCode-05]ErrorMessage: Code:[DBUtilErrorCode-05]Description:[Failed to write data to the configured destination table.]. - com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed
Reading MySQL database fails with error: The last packet successfully received from the server was 902,138 milliseconds ago
PostgreSQL
Reading PostgreSQL data fails with error: org.postgresql.util.PSQLException: FATAL: terminating connection due to conflict with recovery
RDS
Batch synchronization fails when the source is Amazon RDS with error: Host is blocked
MongoDB
Error when adding a MongoDB data source with the root user
How do I use a timestamp in the query parameter to implement incremental synchronization when reading MongoDB?
The timezone is shifted by 8 hours after synchronizing MongoDB to a destination data source. How do I handle this?
Records updated in the source during MongoDB data reading are not synchronized to the destination. How do I handle this?
Is MongoDB Reader case-sensitive?
How do I configure the MongoDB Reader timeout?
Reading MongoDB fails with error: no master
Reading MongoDB fails with error: MongoExecutionTimeoutException: operation exceeded time limit
Batch synchronization reading from MongoDB fails with error: DataXException: operation exceeded time limit
MongoDB synchronization task fails with error: no such cmd splitVector
MongoDB batch synchronization fails with error: After applying the update, the (immutable) field '_id' was found to have been altered to _id: "2"
Redis
Writing to Redis in hash mode fails with error: Code:[RedisWriter-04], Description:[Dirty data]. - source column number is in valid!
OSS
How do I handle dirty data when reading CSV files with multi-character delimiters?
Is there a file count limit when reading OSS files?
How do I remove random strings from file names when writing to OSS?
Reading OSS data fails with error: AccessDenied The bucket you access does not belong to you.
Hive
Batch synchronization to local Hive fails with error: Could not get block locations.
DataHub
How do I handle write failures when the data volume in a single write to DataHub exceeds the limit?
LogHub
A column has data in LogHub but is empty after synchronization
Missing data when reading from LogHub
Columns read during LogHub column mapping do not match expectations
Why does the __time__ value read fall outside the configured time range, or why does the record count from the console for the same time range differ from the synchronization task?
Why does a column have a value in the LogHub console query but is empty after synchronization?
Lindorm
When using Lindorm bulk mode to write data, is the historical data replaced every time?
Elasticsearch
How do I query all columns in an ES index?
How do I configure the index name when synchronizing data from ES to other data sources with different daily index names?
How does Elasticsearch Reader synchronize properties of Object or Nested fields? (For example, synchronize object.field1)
After synchronizing string-type data from ODPS to ES, the quotes appear missing on both sides. How do I handle this? Can a JSON-type string from the source be synchronized as an ES NESTED object?
The source data is string "[1,2,3,4,5]". How do I synchronize it to ES as an array?
When writing data to ES, an unauthenticated request is made first, but authentication is still required, causing the request to fail. As a result, all submitted request data is logged, generating a large volume of audit logs daily. How do I handle this?
How do I synchronize data to ES as a Date type?
Elasticsearch Writer fails when specifying an external version. How do I handle this?
Batch synchronization reading from Elasticsearch fails with error: ERROR ESReaderUtil - ES_MISSING_DATE_FORMAT, Unknown date value. please add "dataFormat". sample value:
Batch synchronization reading from Elasticsearch fails with error: com.alibaba.datax.common.exception.DataXException: Code:[Common-00].
Batch synchronization writing to Elasticsearch fails with error: version_conflict_engine_exception.
Batch synchronization writing to Elasticsearch fails with error: illegal_argument_exception.
Batch synchronization of ODPS Array column data to Elasticsearch fails with error: dense_vector
Why doesn't the Settings configuration take effect when Elasticsearch Writer creates an index?
In a custom index, the nested attribute type is keyword, but why does the type become keyword after automatic generation? (Automatic generation refers to executing a synchronization task with cleanup=true)
Kafka
The endDateTime is configured to specify the cutoff range for data to synchronize from Kafka, but data beyond this time is found in the destination data source
Why does the task keep running without reading data or finishing when there is little data in Kafka?
RestAPI
RestAPI Writer fails with error: The JSON string found via path:[] is not in array format
OTS Writer configuration
How do I configure OTS Writer when writing data to a destination table that contains an auto-increment primary key column?
Time series model configuration
How to understand the _tag and is_timeseries_tag columns in the time series model configuration?
Custom table name
How do I customize the table name for a batch synchronization task?
Adding columns to a table
How do I handle column additions (modifications) in the source table for batch synchronization?
Task configuration issues
How do I handle the situation where I cannot view all tables when configuring a batch synchronization node?
Table/column name keywords
How do I handle synchronization task failures caused by keyword conflicts in table or column names?
Column mapping
Batch synchronization task fails with error: plugin xx does not specify column
Unstructured data source: How do I handle the issue where columns cannot be mapped after clicking data preview?
Modify TTL
Can the TTL of a synchronized table only be modified using the ALTER statement?
Function aggregation
When synchronizing via API, does it support using source-side functions (such as MaxCompute) for aggregation? For example, the source table has columns a and b as Lindorm primary keys
该文章对您有帮助吗?




button at the top. Change the task to script mode.











splitter: defaults to "-,-"


Configure as follows:

