-
Notifications
You must be signed in to change notification settings - Fork 441
TEZ-4688 TEZ-4648: Tez upgrade to Hadoop 3.5.0 and jersey 2.x #474
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
Open
maheshrajus
wants to merge
11
commits into
apache:master
Choose a base branch
from
maheshrajus:TEZ-4688
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d5cc9ef
TEZ-4688: Tez upgrade to Hadoop 3.5.0
maheshrajus eab1b7d
TEZ-4648: Upgrade jersey to 2.x
abstractdog af2f4db
jersey2 migration
abstractdog f9f1cad
jupiter fixes
abstractdog e548565
spotbugs fix
maheshrajus 044f792
test failures fix
maheshrajus d37d8cd
review comments fix
maheshrajus 1a01f07
Review comments fix_2
maheshrajus e325ba9
Review comments fix 3
maheshrajus bcdcf4b
Fix Tez UI timeline parsing after Hadoop 3.5.0 upgrade
maheshrajus d97fa47
Fix javax servlet & jackson exceptions
maheshrajus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -81,11 +81,17 @@ | |
| <plexus-velocity.version>2.3.0</plexus-velocity.version> | ||
| <frontend-maven-plugin.version>1.15.0</frontend-maven-plugin.version> | ||
| <guava.version>32.0.1-jre</guava.version> | ||
| <hadoop.version>3.4.2</hadoop.version> | ||
| <jersey.version>1.19.4</jersey.version> | ||
| <hadoop.version>3.5.0</hadoop.version> | ||
| <!-- Align all Jackson modules with the version shipped by Hadoop 3.5.0 (2.18.6). | ||
| Importing jackson-bom in dependencyManagement ensures any transitive dependency | ||
| (e.g. avro) that pulls an older jackson-core is automatically overridden. | ||
| This is the Jackson project's recommended approach for version alignment. --> | ||
| <jackson.version>2.18.6</jackson.version> | ||
| <jersey.version>2.46</jersey.version> | ||
| <jettison.version>1.5.4</jettison.version> | ||
| <jsr305.version>3.0.0</jsr305.version> | ||
| <junit.version>4.13.2</junit.version> | ||
| <junit.jupiter.version>5.9.3</junit.jupiter.version> | ||
|
maheshrajus marked this conversation as resolved.
|
||
| <leveldbjni-all.version>1.8</leveldbjni-all.version> | ||
| <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version> | ||
| <metrics-core.version>3.1.0</metrics-core.version> | ||
|
|
@@ -98,7 +104,7 @@ | |
| <restrict-imports.enforcer.version>3.0.0</restrict-imports.enforcer.version> | ||
| <roaringbitmap.version>1.2.1</roaringbitmap.version> | ||
| <scm.url>scm:git:https://gitbox.apache.org/repos/asf/tez.git</scm.url> | ||
| <servlet-api.version>3.1.0</servlet-api.version> | ||
| <servlet-api.version>4.0.4</servlet-api.version> | ||
| <slf4j.version>1.7.36</slf4j.version> | ||
| <snappy-java.version>1.1.10.4</snappy-java.version> | ||
| <spotless-maven-plugin.version>3.1.0</spotless-maven-plugin.version> | ||
|
|
@@ -153,6 +159,18 @@ | |
|
|
||
| <dependencyManagement> | ||
| <dependencies> | ||
| <!-- Import jackson-bom to enforce a consistent Jackson version across all | ||
| transitive sources. avro 1.11.5 (via hadoop-common/mapreduce-client-common) | ||
| pulls in jackson-core 2.14.3 which lacks BufferRecycler.releaseToPool() | ||
| required by Jersey 2.46 in Hadoop 3.5.0+. The BOM overrides ALL transitive | ||
| jackson versions without needing per-library exclusions --> | ||
| <dependency> | ||
| <groupId>com.fasterxml.jackson</groupId> | ||
| <artifactId>jackson-bom</artifactId> | ||
| <version>${jackson.version}</version> | ||
| <type>pom</type> | ||
| <scope>import</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.tez</groupId> | ||
| <artifactId>hadoop-shim</artifactId> | ||
|
|
@@ -257,6 +275,16 @@ | |
| <groupId>org.apache.pig</groupId> | ||
| <artifactId>pig</artifactId> | ||
| <version>${pig.version}</version> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>org.mortbay.jetty</groupId> | ||
| <artifactId>*</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.codehaus.jackson</groupId> | ||
| <artifactId>*</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>io.dropwizard.metrics</groupId> | ||
|
|
@@ -306,8 +334,8 @@ | |
| <version>${netty.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| <groupId>jakarta.servlet</groupId> | ||
| <artifactId>jakarta.servlet-api</artifactId> | ||
| <version>${servlet-api.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
|
|
@@ -325,16 +353,12 @@ | |
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>commons-logging</groupId> | ||
| <artifactId>commons-logging-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.sun.jersey</groupId> | ||
| <artifactId>jersey-core</artifactId> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.sun.jersey</groupId> | ||
| <artifactId>jersey-server</artifactId> | ||
| <groupId>commons-logging</groupId> | ||
| <artifactId>commons-logging-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.eclipse.jdt</groupId> | ||
|
|
@@ -385,13 +409,25 @@ | |
| <groupId>org.xerial.snappy</groupId> | ||
| <artifactId>snappy-java</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.apache.avro</groupId> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @maheshrajus , please revert this avro exclusion. UT's are working after that. As we have jackson-bom defined now, we don't need this. All jackson jar have |
||
| <artifactId>avro</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-auth</artifactId> | ||
| <version>${hadoop.version}</version> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty</artifactId> | ||
|
|
@@ -410,16 +446,12 @@ | |
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>commons-logging</groupId> | ||
| <artifactId>commons-logging-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.sun.jersey</groupId> | ||
| <artifactId>jersey-core</artifactId> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.sun.jersey</groupId> | ||
| <artifactId>jersey-server</artifactId> | ||
| <groupId>commons-logging</groupId> | ||
| <artifactId>commons-logging-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.netty</groupId> | ||
|
|
@@ -499,6 +531,14 @@ | |
| <groupId>com.sun.jersey</groupId> | ||
| <artifactId>jersey-core</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty</artifactId> | ||
|
|
@@ -514,6 +554,14 @@ | |
| <groupId>org.eclipse.jetty</groupId> | ||
| <artifactId>jetty-util</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| <dependency> | ||
|
|
@@ -533,6 +581,14 @@ | |
| <groupId>org.eclipse.jetty</groupId> | ||
| <artifactId>*</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| <dependency> | ||
|
|
@@ -551,6 +607,14 @@ | |
| <groupId>org.eclipse.jetty</groupId> | ||
| <artifactId>*</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
| <dependency> | ||
|
|
@@ -602,6 +666,14 @@ | |
| <groupId>com.google.inject.extensions</groupId> | ||
| <artifactId>guice-servlet</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty</artifactId> | ||
|
|
@@ -617,6 +689,14 @@ | |
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-yarn-server-common</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty</artifactId> | ||
|
|
@@ -637,6 +717,14 @@ | |
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-mapreduce-client-shuffle</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty</artifactId> | ||
|
|
@@ -666,6 +754,14 @@ | |
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-mapreduce-client-common</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty</artifactId> | ||
|
|
@@ -679,6 +775,14 @@ | |
| <type>test-jar</type> | ||
| <version>${hadoop.version}</version> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty</artifactId> | ||
|
|
@@ -702,6 +806,14 @@ | |
| <groupId>org.eclipse.jetty</groupId> | ||
| <artifactId>*</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.sun.jersey</groupId> | ||
| <artifactId>jersey-core</artifactId> | ||
|
|
@@ -714,6 +826,10 @@ | |
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet.jsp</groupId> | ||
| <artifactId>jsp-api</artifactId> | ||
|
|
@@ -722,6 +838,14 @@ | |
| <groupId>tomcat</groupId> | ||
| <artifactId>jasper-runtime</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>javax.servlet</groupId> | ||
| <artifactId>javax.servlet-api</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty</artifactId> | ||
|
|
@@ -773,6 +897,18 @@ | |
| <version>${junit.version}</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.jupiter</groupId> | ||
| <artifactId>junit-jupiter-api</artifactId> | ||
| <version>${junit.jupiter.version}</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.vintage</groupId> | ||
| <artifactId>junit-vintage-engine</artifactId> | ||
| <version>${junit.jupiter.version}</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.google.protobuf</groupId> | ||
| <artifactId>protobuf-java</artifactId> | ||
|
|
@@ -789,13 +925,13 @@ | |
| <version>${jettison.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.sun.jersey</groupId> | ||
| <groupId>org.glassfish.jersey.core</groupId> | ||
| <artifactId>jersey-client</artifactId> | ||
| <version>${jersey.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.sun.jersey</groupId> | ||
| <artifactId>jersey-json</artifactId> | ||
| <groupId>org.glassfish.jersey.media</groupId> | ||
| <artifactId>jersey-media-json-jackson</artifactId> | ||
| <version>${jersey.version}</version> | ||
| </dependency> | ||
| <!-- BouncyCastle should be in default scope to make their way to tez.tar.gz since Hadoop 3.4.1 --> | ||
|
|
||
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.