[ https://issues.apache.org/jira/browse/HUDI-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17383994#comment-17383994 ]
ASF GitHub Bot commented on HUDI-2195: -------------------------------------- hudi-bot commented on pull request #3299: URL: https://github.com/apache/hudi/pull/3299#issuecomment-882425352 <!-- Meta data { "version" : 1, "metaDataEntries" : [ { "hash" : "a6d72afb44acf0319d3385aa4f9b4b7fac408bcc", "status" : "UNKNOWN", "url" : "TBD", "triggerID" : "a6d72afb44acf0319d3385aa4f9b4b7fac408bcc", "triggerType" : "PUSH" } ] }--> ## CI report: * a6d72afb44acf0319d3385aa4f9b4b7fac408bcc UNKNOWN <details> <summary>Bot commands</summary> @hudi-bot supports the following commands: - `@hudi-bot run travis` re-run the last Travis build - `@hudi-bot run azure` re-run the last Azure build </details> -- 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 > Sync Hive Failed When Execute CTAS In Spark2 And Spark3 > -------------------------------------------------------- > > Key: HUDI-2195 > URL: https://issues.apache.org/jira/browse/HUDI-2195 > Project: Apache Hudi > Issue Type: Bug > Components: Spark Integration > Reporter: pengzhiwei > Assignee: pengzhiwei > Priority: Major > Labels: pull-request-available > > When execute CTAS in spark2, the follow exception will throw out: > {code:java} > java.lang.NoClassDefFoundError: org/json/JSONException > at > org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeCreateTable(SemanticAnalyzer.java:10847) > at > org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genResolvedParseTree(SemanticAnalyzer.java:10047) > at > org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:10128) > at > org.apache.hadoop.hive.ql.parse.CalcitePlanner.analyzeInternal(CalcitePlanner.java:209) > at > org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:227) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:424) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:308) > at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1122) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1170) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049) > {code} > While executing CTAS in spark3, the follow exception throw out: > {code:java} > java.lang.NoClassDefFoundError: > org/apache/calcite/rel/type/RelDataTypeSystemjava.lang.NoClassDefFoundError: > org/apache/calcite/rel/type/RelDataTypeSystem at > org.apache.hadoop.hive.ql.parse.SemanticAnalyzerFactory.get(SemanticAnalyzerFactory.java:318) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:484) at > org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1317) at > org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1457) at > org.apache.hadoop.hive.ql.Driver.run(Driver.java:1237) at > org.apache.hadoop.hive.ql.Driver.run(Driver.java:1227) at > org.apache.hudi.hive.HoodieHiveClient.updateHiveSQLs(HoodieHiveClient.java:458) > at > org.apache.hudi.hive.HoodieHiveClient.updateHiveSQLUsingHiveDriver(HoodieHiveClient.java:448) > at > org.apache.hudi.hive.HoodieHiveClient.updateHiveSQL(HoodieHiveClient.java:426) > at > org.apache.hudi.hive.HoodieHiveClient.createTable(HoodieHiveClient.java:322) > at org.apache.hudi.hive.HiveSyncTool.syncSchema(HiveSyncTool.java:234) at > org.apache.hudi.hive.HiveSyncTool.syncHoodieTable(HiveSyncTool.java:179) at > org.apache.hudi.hive.HiveSyncTool.doSync(HiveSyncTool.java:130) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)