aib628 commented on issue #8848:
URL: https://github.com/apache/hudi/issues/8848#issuecomment-1652858744

   > @aib628 What is your issue then ? The Calcite jar is also missing ?
   
   Yeah,The same problem reproduced when use flink connector.  We can see the 
error message in jobmanager log as follow:
   `Caused by: java.lang.NoClassDefFoundError: 
org/apache/calcite/plan/RelOptRule`
   
   And then i add calcite-core-*.jar to sql-client by --jar options, the 
hive_sync function finished normally:
   ```
   HADOOP_CLASSPATH=`$HADOOP_HOME/bin/hadoop classpath` bash 
/opt/hudi/flink-1.17.1/bin/sql-client.sh embedded -j 
/var/hoodie/ws/packaging/hudi-flink-bundle/target/hudi-flink1.17-bundle-0.14.0-SNAPSHOT.jar
 -j /opt/hudi/libs/calcite-core-1.16.0.jar -j 
/opt/hudi/libs/flink-sql-connector-kafka-1.17.1.jar shell
   ```


-- 
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: commits-unsubscr...@hudi.apache.org

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

Reply via email to