marrycheck opened a new issue #2680:
URL: https://github.com/apache/hudi/issues/2680


   I used ```run_sync_tool.sh``` to synchronize the metadata between hudi and 
hive, and there were several errors:
   1. The hive metastore cannot be recognized. 
     Error message ```"Required table missing: "DBS" in Catalog "" Schema "". 
DataNucleus requires this table to perform its persistence operations. Either 
your MetaData is incorrect, or you need to enable 
"datanucleus.schema.autoCreateTables""```
   2. Prompt that the jar package is missing.
     Error message  ```"ClassNotFoundException: 
org.apache.http.config.Lookup"```
   
   After that, I checked the content of ```run_sync_tool.sh``` and modified 
part of the code:
   ```java -cp 
$HUDI_HIVE_UBER_JAR:${HADOOP_HIVE_JARS}:${HIVE_HOME}/lib:${HADOOP_CONF_DIR}:${HIVE_HOME}/conf
 org.apache.hudi.hive.HiveSyncTool "$@"```
   Is there a more elegant way to solve these problems?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to