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 2022/04/25 02:02:21 UTC

[GitHub] [hudi] danny0405 commented on a diff in pull request #5420: Flink hive sync got ClassNotFoundException (org/apache/hudi/org/apache/hadoop/hive/ql/metadata/Hive)

danny0405 commented on code in PR #5420:
URL: https://github.com/apache/hudi/pull/5420#discussion_r857213866


##########
packaging/hudi-utilities-bundle/pom.xml:
##########
@@ -148,6 +148,7 @@
                   <include>org.apache.hive:hive-service-rpc</include>
                   <include>org.apache.hive:hive-metastore</include>
                   <include>org.apache.hive:hive-jdbc</include>
+                  <include>org.apache.hive:hive-exec</include>
 
                   <include>org.apache.hbase:hbase-client</include>

Review Comment:
   Why we add the dependency to `hudi-utilities` ? I guess you mean `hudi-flink-bundle` ? There is already `hive-exec` in `hudi-flink-bundle` dependencies, the reason you can not find the class is that the hive package is shaded in release 0.10.1, while in release 0.11.0 or latest master, we have removed the shade pattern for hive, maybe you can reference the pom and have a try ~



-- 
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-unsubscribe@hudi.apache.org

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