MAPREDUCE服务 MRS-使用Spark SQL删除MOR表后重新建表写入数据无法同步ro、rt表:问题

时间:2024-07-02 16:39:55

问题

使用Spark SQL删除MOR表后重新建表写入数据不能实时同步ro、rt表,报错如下:

WARN HiveSyncTool: Got runtime exception when hive syncing, but continuing as ignoreExceptions config is set
java.lang.IllegalArgumentException: Failed to get schema for table hudi_table2_ro does not exist
at org.apache.hudi.hive.HoodieHiveClient.getTableSchema(HoodieHiveClient.java:183)
at org.apache.hudi.hive.HiveSyncTool.syncHoodieTable(HiveSyncTool.java:286)
at org.apache.hudi.hive.HiveSyncTool.doSync(HiveSyncTool.java:213)
support.huaweicloud.com/cmpntguide-lts-mrs/mrs_01_248941.html