You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/03/25 13:19:12 UTC

[GitHub] [hudi] cdmikechen commented on a change in pull request #2719: [HUDI-1721] run_sync_tool support hive3

cdmikechen commented on a change in pull request #2719:
URL: https://github.com/apache/hudi/pull/2719#discussion_r601476629



##########
File path: hudi-sync/hudi-hive-sync/run_sync_tool.sh
##########
@@ -49,6 +49,15 @@ fi
 HIVE_JACKSON=`ls ${HIVE_HOME}/lib/jackson-*.jar | tr '\n' ':'`
 HIVE_JARS=$HIVE_METASTORE:$HIVE_SERVICE:$HIVE_EXEC:$HIVE_JDBC:$HIVE_JACKSON
 
+HIVE_CALCITE=`ls ${HIVE_HOME}/lib/calcite-*.jar | tr '\n' ':'`
+if [ -n "$HIVE_CALCITE" ]; then
+    HIVE_JARS=$HIVE_JARS:$HIVE_CALCITE
+fi
+HIVE_LIBFB303=`ls ${HIVE_HOME}/lib/libfb303-*.jar | tr '\n' ':'`
+if [ -n "$HIVE_LIBFB303" ]; then
+    HIVE_JARS=$HIVE_JARS:$HIVE_LIBFB303

Review comment:
       I had the same problem, hive3 need these jars to be connected. The dependency packages of hive2 and hive3 on the connection have been changed.




-- 
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:
users@infra.apache.org