springMoon opened a new issue #3358: URL: https://github.com/apache/hudi/issues/3358
**_Tips before filing an issue_** - Have you gone through our [FAQs](https://cwiki.apache.org/confluence/display/HUDI/FAQ)? - Join the mailing list to engage in conversations and get faster support at [email protected]. - If you have triaged this as a bug, then file an [issue](https://issues.apache.org/jira/projects/HUDI/issues) directly. **Describe the problem you faced** hudi hive dependency conflicts with flink hive catalog dependency, when flink use hive catalog and hudi start write job with sync matedata to hive **To Reproduce** Steps to reproduce the behavior: 1. clone hudi master branch 2. package : mvn clean package -DskipTests -Drat.skip=true -Pflink-bundle-shade-hive2,include-flink-sql-connector-hive 3. mv hudi-flink-bundle_2.11-0.9.0-SNAPSHOT.jar to flink lib (with flink-sql-connector-hive ) 4. start flink sql-client and use flink sql job write data to hudi 5. when job complete a checkpoint, get the exception: ```java java.lang.NoSuchMethodError: org.apache.hadoop.hive.ql.session.SessionState.<init>(Lorg/apache/hudi/org/apache/hadoop/hive/conf/HiveConf;Ljava/lang/String;)V at org.apache.hudi.hive.HoodieHiveClient.<init>(HoodieHiveClient.java:97) ~[hudi-flink-bundle_2.11-0.9.0-SNAPSHOT.jar:0.9.0-SNAPSHOT] at org.apache.hudi.hive.HiveSyncTool.<init>(HiveSyncTool.java:70) ~[hudi-flink-bundle_2.11-0.9.0-SNAPSHOT.jar:0.9.0-SNAPSHOT] at org.apache.hudi.sink.utils.HiveSyncContext.hiveSyncTool(HiveSyncContext.java:51) ~[hudi-flink-bundle_2.11-0.9.0-SNAPSHOT.jar:0.9.0-SNAPSHOT] at org.apache.hudi.sink.StreamWriteOperatorCoordinator.syncHive(StreamWriteOperatorCoordinator.java:273) ~[hudi-flink-bundle_2.11-0.9.0-SNAPSHOT.jar:0.9.0-SNAPSHOT] at org.apache.hudi.sink.utils.NonThrownExecutor.lambda$execute$0(NonThrownExecutor.java:57) ~[hudi-flink-bundle_2.11-0.9.0-SNAPSHOT.jar:0.9.0-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_221] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_221] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221] ``` **Expected behavior** use flink hive catalog and hudi sync metadate to hive **Environment Description** * Hudi version : master * Spark version : * Hive version : 2.3.3 * Hadoop version : 3.1 * Storage (HDFS/S3/GCS..) : hdfs * Running on Docker? (yes/no) : no **Additional context** Add any other context about the problem here. **Stacktrace** ```Add the stacktrace of the error.``` -- 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]
