-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ClassNotFoundException:HoodieInputFormat #581
Comments
Hi.. is this from running the sync tool? Can you throw some light on your setup? |
@daikon12 do you still have this issue? |
|
It cannot find the HoodieInputFormat which is contained in the We can also move this discussion to the dev mailing list, so we can respond quicker.. |
@vinothchandar thx your idea。 |
I think we removed the suffix in 0.4.5 All you need is the hive bundle jar. It has the mr stuff internally
I will double check and update the docs.. Can you try running with just the |
Btw, you can use the https://github.com/apache/incubator-hudi/blob/master/hoodie-hive/run_sync_tool.sh tool to run it instead of doing it by hand? |
Maybe there is a colon missing . |
So I runit manually again and it works fine until I got the following error: |
You mean the run_sync_tool.sh gives you this error? Thats odd. Are the Hive jars themselves there? antlr should be provided by Hive I think? |
The run_hive_sync tool failed because there were multiple standalone jdbc jars found in your hive installation. We have not seen this case in our installations. I have created a PR (#609) to handle this case. Can you please apply this patch, try this out and let us know if this solved the issue. Thanks, |
I faced the antlr recognition exception as well, Fixed it by adding a few jars (like the antlr jar) manually. Just thinking out loud, Why can't we pick all the jars from "{HIVE_HOME}/lib/" instead of selectively picking? |
@Achuth17 : This was done on purpose. There are lot of different hadoop/hive environments out there. With Hudi having to interoperate across different query engines, it was practical to choose a set of hadoop/hive releases for which we can certify different hoodie tools/jars. As part of this certification, we found that blindly picking all jars results in package conflicts with this ones present in the installations. |
@daikon12 : Is run_hive_sync tool working fine now ? |
|
Closing due to inactivity |
…s and add tests for filtering out extensions (apache#581) Co-authored-by: rmahindra123 <rmahindra@Rajeshs-MacBook-Pro.local>
hi , When I followed the steps of quickstart (https://uber.github.io/hudi/quickstart.html ) ,I have a problem:


and I found HoodieInputFormat.class belongs to this jar:
So I introduced this dependency in run_sync_tool.sh , but It did not work.
Is there any good solution to this problem ? Thank you very much
The text was updated successfully, but these errors were encountered: