FAQ
Updated at:
This topic describes common issues and solutions for failures that occur when you synchronize data to Hologres.
- What do I do if the network connectivity test for a PolarDB data source fails?
- Error when starting a real-time task: com.alibaba.otter.canal.parse.exception.PositionNotFoundException: cannot find start position for XXX
- A real-time task reports a runtime error: com.alibaba.otter.canal.parse.exception.CanalParseException: The 'show master status' command has an error. This operation requires the SUPER or REPLICATION CLIENT privilege.
- Real-time task runtime error: com.alibaba.datax.plugin.reader.mysqlbinlogreader.MysqlBinlogReaderException: The MySQL server does not have the binlog feature enabled. You must enable this feature first.
- Why does an offline task fail with the error: com.alibaba.datax.common.exception.DataXException: Code:[HoloWriter-02], Description:[Invalid config parameter in your configuration.]. - Field _log_file_name_offset_ not allow null but not present in user configured columns.?
- An offline task reports a NoSuchTopic error: The specified topic name does not exist.
- Runtime error in a real-time task: com.mongodb.MongoExecutionTimeoutException: operation exceeded time limit.
What do I do if the network connectivity test for a PolarDB data source fails?
- Symptom: The network connectivity test fails when you add a PolarDB data source.
- Solution: Switch to the JDBC connection string. Check the whitelist and the VPC configuration for the exclusive resource group.
What do I do if the network connectivity test for an Oracle data source fails?
- Symptom: The network connectivity test fails when you add an Oracle data source.
- Solution: Switch to the JDBC connection string. Check the whitelist and the VPC configuration for the exclusive resource group.
What do I do if the network connectivity test for a MySQL data source fails?
- Symptom: The network connectivity test fails when you add a MySQL data source.
- Solution: Switch to the JDBC connection string. Check the whitelist and the VPC configuration for the exclusive resource group.
Real-time task runtime error: com.alibaba.otter.canal.parse.exception.PositionNotFoundException: can't find start position for XXX
- Error message: When a data synchronization task runs, the real-time task fails with the error message
com.alibaba.otter.canal.parse.exception.PositionNotFoundException: can't find start position for XXX. - Cause: Binary logging (binlog) is not enabled for the source PolarDB data source.
- Solution: Enable binary logging for PolarDB. For more information, see Configure a PolarDB data source. Then, modify at least one data record and switch the start point of the real-time data integration sync task to the current time.
Why does a real-time task fail with the error: com.alibaba.otter.canal.parse.exception.CanalParseException: command : 'show master status' has an error! pls check. you need (at least one of) the SUPER,REPLICATION CLIENT privilege(s) for this operation?
- Error message: When a data synchronization task runs, the real-time task fails with the error message
com.alibaba.otter.canal.parse.exception.CanalParseException: command : 'show master status' has an error! pls check. you need (at least one of) the SUPER,REPLICATION CLIENT privilege(s) for this operation. - Cause: The account used for data synchronization does not have the required permissions on the source PolarDB data source, or the connected PolarDB database is not the primary node.
- Solution: Grant the required permissions as described in Configure a PolarDB data source. Alternatively, check whether the PolarDB instance is the primary node (read/write database). Real-time tasks cannot scrape data from a PolarDB secondary node.
Error running a real-time job: com.alibaba.datax.plugin.reader.mysqlbinlogreader.MysqlBinlogReaderException: The mysql server does not enable the binlog write function. Please enable the mysql binlog write function first.
- Error message: When a data synchronization task runs, the real-time task fails with the error message
com.alibaba.datax.plugin.reader.mysqlbinlogreader.MysqlBinlogReaderException: The mysql server does not enable the binlog write function. Please enable the mysql binlog write function first. - Cause: The `loose_polar_log_bin` parameter is not enabled for the source PolarDB data source.
- Solution: Enable the `loose_polar_log_bin` parameter. For more information, see Configure a PolarDB data source.
Why does an offline task fail with the error: com.alibaba.datax.common.exception.DataXException: Code:[HoloWriter-02], Description:[Invalid config parameter in your configuration.]. - Field _log_file_name_offset_ not allow null but not present in user configured columns.?
- Error message: When a data synchronization task runs, the offline task fails with the error message
com.alibaba.datax.common.exception.DataXException: Code:[HoloWriter-02], Description:[Invalid config parameter in your configuration.]. - Field _log_file_name_offset_ not allow null but not present in user configured columns. - Possible cause: The DataWorks offline engine plugin has not been upgraded.
- Solution: Submit a ticket to contact technical support to upgrade the offline DPI engine plugin to the latest version.
Offline task runtime error: errorCode:NoSuchTopic, errorMessage:The specified topic name does not exist.
- Error message: When a data synchronization task runs, the offline task fails with the error message
errorCode:NoSuchTopic, errorMessage:The specified topic name does not exist.. - Causes:
- The Hologres destination table used in the data synchronization task does not exist.
- The data synchronization task is configured to sync a source table to a Hologres foreign table. Hologres Writer does not support writing data to Hologres foreign tables.
- Solution: Use a Hologres internal table as the destination table for the sync task. If the Hologres destination table does not exist, use the Auto-create Table feature when you configure the data synchronization task to create an available Hologres destination table. For more information, see Configure a Hologres destination table.
Runtime error for a real-time task: MongoDBReader$Task - operation exceeded time limit com.mongodb.MongoExecutionTimeoutException: operation exceeded time limit.
- Error message: When a data synchronization task runs, the real-time task fails with the error message
MongoDBReader$Task - operation exceeded time limitcom.mongodb.MongoExecutionTimeoutException: operation exceeded time limit. - Cause: The amount of data pulled during the full data synchronization is too large.
- Solution:
- Increase the number of concurrent threads.
- Decrease the BatchSize.
- Add the
cursorTimeoutInMsconfiguration to the `parameter` settings for the reader. Try setting a larger value, such as 3,600,000 ms.
Is this page helpful?