deepakpanda93 commented on code in PR #13829:
URL: https://github.com/apache/hudi/pull/13829#discussion_r2347932451
##########
hudi-sync/hudi-hive-sync/run_sync_tool.sh:
##########
@@ -46,7 +46,7 @@ HIVE_JDBC=`ls ${HIVE_HOME}/lib/hive-jdbc-*.jar | tr '\n' ':'`
if [ -z "${HIVE_JDBC}" ]; then
HIVE_JDBC=`ls ${HIVE_HOME}/lib/hive-jdbc-*.jar | grep -v handler | tr '\n'
':'`
fi
-HIVE_JARS=$HIVE_METASTORE:$HIVE_SERVICE:$HIVE_EXEC:$HIVE_JDBC
+HIVE_JARS=$HIVE_METASTORE:$HIVE_SERVICE:$HIVE_EXEC:$HIVE_JDBC:${HIVE_HOME}/lib/calcite-core-1.16.0.jar:${HIVE_HOME}/lib/libfb303-0.9.3.jar
Review Comment:
While launching the Hive Sync we faced below ClassNotFound Issues.
Added the respective dependency and jars to fix the same. As without
hivesynctool the end-to-end docker demo execution is incomplete, so added this
in the same PR.
`Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/calcite/plan/RelOptRule
Exception in thread "main" java.lang.NoClassDefFoundError:
com/facebook/fb303/FacebookService$Iface
Exception in thread "main" java.lang.NoClassDefFoundError:
com/github/benmanes/caffeine/cache/Caffeine`
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]