Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using Hudi/ Common Issues About Hudi/ Hive Synchronization/ SemanticException Is Reported During Hive Data Synchronization
Updated on 2023-01-11 GMT+08:00

SemanticException Is Reported During Hive Data Synchronization

Question

The following error is reported during Hive data synchronization:

org.apache.hadoop.hive.ql.parse.SemanticException: Database does not exist: test_db

Answer

This error typically occurs when Hive synchronization is performed on the Hudi data set but the configured hive_sync database does not exist.

Create the corresponding database on your Hive cluster and try again.