Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using CDL/ CDL FAQs/ Error Is Reported When the Job of Capturing Data From PgSQL to Hudi Is Started
Updated on 2024-05-29 GMT+08:00

Error Is Reported When the Job of Capturing Data From PgSQL to Hudi Is Started

Symptom

The error message "Record key is empty" is displayed when the job of capturing data from PgSQL to Hudi is started.

Possible Causes

The primary key parameter table.primarykey.mapping of the Hudi table is not configured.

Procedure

  1. Log in to FusionInsight Manager and choose Cluster > Services > CDL. Click the hyperlink next to CDLService UI to access the CDLService web UI. On the data synchronization job list page, locate the row that contains the target job and choose More > Stop. After the job is stopped, choose More > Edit.
  2. Configure the table.primarykey.mapping parameter on the Hudi table attribute configuration page and click Save. For details about the parameter, see Table 8.
  3. On the data synchronization job list page, locate the row containing the target job and click Start to restart the job.