-
Notifications
You must be signed in to change notification settings - Fork 3k
Hive: Fix NoSuchMethodError of OrcTail with Hive3.x and Vectorized ORC #3155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
LGTM, I'm okay with copying this over from Hive for the time being. Checkstyle errors need to be fixed though in the copied OrcSplit class. |
Thanks for the feedback. Sure, I will fix the Checkstyle errors and update the PR. |
|
@szlta Checkstyle should be fixed now. |
|
hey @szlta ping |
|
Can you retrigger the tests? I still see some failures :( |
6554786 to
0c69b95
Compare
|
@szlta things look good now in the CI :) |
|
LGTM, @pvary can you please take a look too? |
|
@rdblue I think this PR is a good candidate for 0.12.1 milestone |
|
Thanks, @omarsmak. I've added this to the 0.12.1 milestone. |
Fixes #3041
As I explained here, this issue seems happen as regression result from PR: #2613
So the issue is that compiled class
HiveVectorizedReaderrefers to the shadedorg.apache.iceberg.shaded.org.apache.orc.OrcTailinstead oforg.apache.orc.OrcTailwhich triggers the error that is described in the github issue when using Vectorized ORC with MR jobs.Honestly, this is a bit annoying issue due to the inter-dependencies between Hive, Iceberg and ORC and therefore, the simplest solution is to copy
OrcTailclass from Hive 3.1.2 into Iceberg for this only case. However, to be honest I am not happy to copy such classes from Hive but from my humble understanding is that, such solution will be temporary until the release of Hive 4. Thus, I am submitting this PR for this purposed solution, if anybody has a better idea how to solve such issue, I will be happy to hear.