-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-24316. Upgrade ORC from 1.5.6 to 1.5.8 in branch-3.1 #1616
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
|
Thanks for the patch @dongjoon-hyun -- can you please reopen the PR as I dont see the pre-commit test results at all (I guess they were never triggered) |
|
Thanks, @pgaref . I closed and reopened this. |
|
Hi, @sunchao . |
|
No. There is no jenkins file in branch-3.1 so there's no way to run CI at the moment. We'd have to do something similar to #1398 to enable that. |
|
Do you think you can do that for the Apache Hive community? |
|
yeah I can help on that - I think it won't be too difficult after going through the process for branch-2.3. |
|
opened #1626 |
|
Thank you so much, @sunchao! |
|
@dongjoon-hyun can you re-trigger CI perhaps with an empty commit? |
|
Sure! |
sunchao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. All test failures are existing and there's no new failures.
|
Thank you for your review and approval, @sunchao ! |
|
@pgaref let me know if you want to take another look before I merge it. Thanks. |
|
Hey @sunchao the orc version bump should be safe so patch LGTM -- I see we have some test failures with the new CI, is that expected, or something to look at? Cheers |
|
Thanks @pgaref . Yes those are existing test failures in the branch that are probably worth taking a look. Not sure whether they are flaky or real issues. |
|
Merged. Thanks @dongjoon-hyun |
|
Could you resolve HIVE-24316 please, @sunchao ? |
|
it's done |
|
Thanks! |
|
Hello, This commit seems to fail four existing test cases in org.apache.hadoop.hive.ql.io.orc.TestOrcFile: [ERROR] Failures: In my own manual testing, the four tests succeed with HIVE-24331 (the last commit just before HIVE-24316 in branch-3.1), so there is a good chance that upgrading ORC to 1.5.8 introduces these errors. The error is generated from the following assertTrue(), so replacing the constant 5000 with 2000 would fix the errors. for(StripeInformation stripe: reader.getStripes()) { Could someone test the latest commit in branch-3.1 to see if the same errors can be reproduced? --- Sungwoo |
|
Hey @glapark This is most probably related to ORC-361 that changed the ORC MemoryManager implementation (to support multi-threaded writers).
I assume that you replaced it with 20_000 as the stripe sizes are around that number -- we should probably have the assert check the StripeSize which is about 50_000. |
|
Thank you guys. I'll take a look at them, too. |
|
Got it. I found what I missed. I'll make a follow-up. |
What changes were proposed in this pull request?
This PR aims to upgrade Apache ORC from 1.5.6 to 1.5.8.
Why are the changes needed?
This will bring eleven bug fixes.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CI with the existing test cases.