-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Upgrade hadoop version to 3.4.0 #13582
Upgrade hadoop version to 3.4.0 #13582
Conversation
pom.xml
Outdated
@@ -234,6 +234,7 @@ | |||
|
|||
<!-- Solve conflict across dependencies --> | |||
<kotlin.stdlib.version>1.9.24</kotlin.stdlib.version> | |||
<jetbrains.annotations.version>13.0</jetbrains.annotations.version> |
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.
Can you try using the latest version (24.1.0) of this library and see if it works
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.
Seems the dependency conflict is from kotlin-stdlib
and orc-core
. Wondering why it is not triggered before? Neither of them seems related to the hadoop version bump?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #13582 +/- ##
============================================
+ Coverage 61.75% 62.11% +0.36%
+ Complexity 207 198 -9
============================================
Files 2436 2558 +122
Lines 133233 140968 +7735
Branches 20636 21869 +1233
============================================
+ Hits 82274 87569 +5295
- Misses 44911 46767 +1856
- Partials 6048 6632 +584
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This is strange for me as well. I will be digging more into it. Thanks. |
e29c818
to
1f13af7
Compare
I think the reason is that in [INFO] +- org.apache.hadoop:hadoop-hdfs-client:jar:3.3.6:compile
[INFO] | +- com.squareup.okhttp3:okhttp:jar:4.9.3:compile
[INFO] | | \- com.squareup.okio:okio:jar:3.9.0:compile
[INFO] | | \- com.squareup.okio:okio-jvm:jar:3.9.0:compile
[INFO] | +- org.jetbrains.kotlin:kotlin-stdlib:jar:2.0.0:compile
[INFO] | +- org.jetbrains.kotlin:kotlin-stdlib-common:jar:2.0.0:compile
[INFO] +- org.apache.hadoop:hadoop-hdfs-client:jar:3.4.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.2:compile |
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 otherwise
<dependency> | ||
<groupId>com.google.protobuf</groupId> | ||
<artifactId>protobuf-java</artifactId> | ||
</dependency> |
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.
Is this required?
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.
Yes. Without it, we will get the exception com.google.protobuf.MessageOrBuilder
not found
Labels
dependencies
Description
As per the issue, This PR upgrades the Hadoop version to 3.4.0. There was the
jetbrains.annotations
dependency convergence issue, and to fix it, we are explicitly importing the dependency in the parent pom file.