[#10788] improvement(deps): upgrade Hadoop from 2.10.2 to 3.3.6 and remove hadoop2 dependency line#10789
Open
geyanggang wants to merge 3 commits intoapache:mainfrom
Open
[#10788] improvement(deps): upgrade Hadoop from 2.10.2 to 3.3.6 and remove hadoop2 dependency line#10789geyanggang wants to merge 3 commits intoapache:mainfrom
geyanggang wants to merge 3 commits intoapache:mainfrom
Conversation
Code Coverage Report
|
09b0aa7 to
3d49584
Compare
3d49584 to
524d69d
Compare
524d69d to
c7b3584
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
hadoop2version (2.10.2) and its 6 library definitions from libs.versions.tomlhadoop3from 3.3.1 to 3.3.6 (includinghadoop3-abs,hadoop3-aliyun,hadoop-minikdc)libs.hadoop2.*references withlibs.hadoop3.*in 8 build filesexclude("*"):hadoop-shaded-guava,hadoop-shaded-protobuf,commons-configuration2,re2j,hadoop-hdfs-clientcatalog-hiveWhy are the changes needed?
hadoop2(2.10.2) dependency line brings in outdated transitive dependencies (Jackson 2.6.x, Netty 3.x, Jetty 9.3.x) that are no longer maintainedhive-metastore3-libswas incorrectly configured withhadoop2despite Hive 3.1.3 natively depending on Hadoop 3.1.0Fix: #10788
Does this PR introduce any user-facing change?
No.
How was this patch tested?
./gradlew build -x test) — passedhadoop-common-3.3.6resolves in all affected modules, no Hadoop 2.x JARs in distributioncatalog-hive,hive-metastore-common,catalog-lakehouse-hudi,catalog-fileset,filesystem-hadoop3,hadoop-common,authorization-ranger,spark-connector,flink-connector,core