Uh oh!
There was an error while loading. Please reload this page.
HIVE-24316. Upgrade ORC from 1.5.6 to 1.5.8 in branch-3.1 - #1616
Conversation
pgaref
commented
Oct 28, 2020
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) |
dongjoon-hyun
commented
Oct 28, 2020
Thanks, @pgaref . I closed and reopened this. |
dongjoon-hyun
commented
Oct 29, 2020
Hi, @sunchao . |
sunchao
commented
Oct 29, 2020
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. |
dongjoon-hyun
commented
Oct 29, 2020
Do you think you can do that for the Apache Hive community? |
sunchao
commented
Oct 29, 2020
yeah I can help on that - I think it won't be too difficult after going through the process for branch-2.3. |
sunchao
commented
Oct 29, 2020
opened #1626 |
dongjoon-hyun
commented
Oct 29, 2020
Thank you so much, @sunchao! |
sunchao
commented
Nov 2, 2020
@dongjoon-hyun can you re-trigger CI perhaps with an empty commit? |
dongjoon-hyun
commented
Nov 2, 2020
Sure! |
sunchao
left a comment
There was a problem hiding this comment.
LGTM. All test failures are existing and there's no new failures.
dongjoon-hyun
commented
Nov 3, 2020
Thank you for your review and approval, @sunchao ! |
sunchao
commented
Nov 3, 2020
@pgaref let me know if you want to take another look before I merge it. Thanks. |
pgaref
commented
Nov 3, 2020
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 |
sunchao
commented
Nov 3, 2020
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. |
sunchao
commented
Nov 3, 2020
Merged. Thanks @dongjoon-hyun |
dongjoon-hyun
commented
Nov 3, 2020
dongjoon-hyun
commented
Nov 4, 2020
Could you resolve HIVE-24316 please, @sunchao ? |
sunchao
commented
Nov 4, 2020
it's done |
dongjoon-hyun
commented
Nov 4, 2020
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. |
dongjoon-hyun
commented
Nov 12, 2020
Thank you guys. I'll take a look at them, too. |
dongjoon-hyun
commented
Nov 12, 2020
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.