全部產品
Search
文件中心

:即時同步至Hologres常見問題

更新時間:Apr 02, 2025

以下為您介紹即時同步資料至Hologres操作失敗的常見問題和解決方案。

PolarDB資料來源網路聯通性測試失敗怎麼辦?

  • 錯誤現象:添加資料來源PolarDB時,網路連通性測試失敗。
  • 如何處理:切換到jdbc串連串,同時檢查白名單配置,以及獨享資源群組的VPC配置。

Oracle資料來源網路聯通性測試失敗怎麼辦?

  • 錯誤現象:添加資料來源Oracle時,網路連通性測試失敗。
  • 如何處理:切換到jdbc串連串,同時檢查白名單配置,以及獨享資源群組的VPC配置。

MySQL資料來源網路聯通性測試失敗怎麼辦?

  • 錯誤現象:添加資料來源MySQL時,網路連通性測試失敗。
  • 如何處理:切換到jdbc串連串,同時檢查白名單配置,以及獨享資源群組的VPC配置。

即時任務,運行報錯:com.alibaba.otter.canal.parse.exception.PositionNotFoundException: can't find start position for XXX

  • 報錯內容:資料同步任務執行時,即時任務運行失敗,錯誤提示為com.alibaba.otter.canal.parse.exception.PositionNotFoundException: can't find start position for XXX
  • 可能原因:來來源資料源PolarDB沒有開啟binlog。
  • 如何處理:PolarDB開啟binlog,詳細操作可參見配置資料來源(來源為PolarDB)。並進行至少一條資料的變更,同時切換Data Integration即時同步開始點位到目前時間。

即時任務,運行報錯: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

  • 報錯內容:資料同步任務執行時,即時任務運行失敗,錯誤提示為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
  • 可能原因:來來源資料源PolarDB沒有給進行資料同步的帳號開啟要求的權限,或對接的PolarDB資料庫不是主節點。
  • 如何處理:參見配置資料來源(來源為PolarDB)的操作授予許可權,或者檢查PolarDB是否是主節點(讀寫庫),目前即時任務不支援從PolarDB備節點抓取資料。

即時任務,運行報錯: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.

  • 報錯內容:資料同步任務執行時,即時任務運行失敗,錯誤提示為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
  • 可能原因:來來源資料源PolarDB未開啟loose_polar_log_bin參數。
  • 如何處理:需要開啟loose_polar_log_bin參數,詳細操作可參見配置資料來源(來源為PolarDB)