Skip to content

TEZ-4688 TEZ-4648: Tez upgrade to Hadoop 3.5.0 and jersey 2.x#474

Open
maheshrajus wants to merge 9 commits into
apache:masterfrom
maheshrajus:TEZ-4688
Open

TEZ-4688 TEZ-4648: Tez upgrade to Hadoop 3.5.0 and jersey 2.x#474
maheshrajus wants to merge 9 commits into
apache:masterfrom
maheshrajus:TEZ-4688

Conversation

@maheshrajus

@maheshrajus maheshrajus commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

This PR upgrades Tez to support:

  • Hadoop 3.5.0
  • Jersey 2.x

As part of the upgrade, several ATS Timeline API response format differences were observed between older Hadoop versions and Hadoop 3.5.0. This PR adds compatibility handling for those schema variations.

Main updates include:

  • Migrated Jersey client usage from Jersey 1.x APIs to Jersey 2.x APIs
  • Added handling for ATS field name variations observed across versions
    Handled ATS compatibility differences including:
  • otherinfootherInfo
  • entityentityId
  • entitytypeentityType
  • domain / iddomainId

Additional fixes:

  • Handled nested Timeline domain JSON structures
  • Stabilized ATS-related unit tests after Jersey 2.x migration

How was this patch tested?

  • with existed UT and all unit tests are green.

jersey upgrade changes taken from PR : #429 by @abstractdog as they need for hadoop 3.5.0 upgrade.

@kokila-19

Copy link
Copy Markdown
Contributor

FYI,
https://issues.apache.org/jira/browse/TEZ-4648 Jersey upgrade is also required for hadoop upgrade

@tez-yetus

This comment was marked as outdated.

@maheshrajus maheshrajus changed the title TEZ-4688: Upgrade to Hadoop 3.5.0 TEZ-4688 TEZ-4648: [WIP] Tez upgrade to Hadoop 3.5.0 and jersey 2.x Apr 6, 2026
@tez-yetus

This comment was marked as outdated.

@tez-yetus

This comment was marked as outdated.

@maheshrajus maheshrajus changed the title TEZ-4688 TEZ-4648: [WIP] Tez upgrade to Hadoop 3.5.0 and jersey 2.x TEZ-4688 TEZ-4648: Tez upgrade to Hadoop 3.5.0 and jersey 2.x Apr 8, 2026
@tez-yetus

This comment was marked as outdated.

@tez-yetus

This comment was marked as outdated.

@maheshrajus

Copy link
Copy Markdown
Contributor Author

@abstractdog @ayushtkn Can you please review and provide comments if any. Thanks !

@Aggarwal-Raghav

Copy link
Copy Markdown
Contributor

@maheshrajus , can you please rebase this PR and resolve merge conflicts?

@maheshrajus

Copy link
Copy Markdown
Contributor Author

@Aggarwal-Raghav Hi, i rebased and pushed the commit just now. Could you please take a look at this? Thanks !

Comment thread pom.xml
Comment thread pom.xml Outdated
@Aggarwal-Raghav

Copy link
Copy Markdown
Contributor

The explicit dependency of org.codehaus.jettison should be removed from tez and moved to use fasterxml IMO, the question is whether it should be done in this JIRA scope or a separate JIRA.

Comment thread pom.xml
@tez-yetus

This comment was marked as outdated.

@maheshrajus

Copy link
Copy Markdown
Contributor Author

The explicit dependency of org.codehaus.jettison should be removed from tez and moved to use fasterxml IMO, the question is whether it should be done in this JIRA scope or a separate JIRA.

@Aggarwal-Raghav Better this we will handle separately. thanks !

@tez-yetus

Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 38s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 5 new or modified test files.
_ master Compile Tests _
+0 🆗 mvndep 0m 41s Maven dependency ordering for branch
+1 💚 mvninstall 4m 36s master passed
+1 💚 compile 7m 42s master passed
+1 💚 checkstyle 5m 45s master passed
+1 💚 javadoc 6m 13s master passed
+0 🆗 spotbugs 1m 32s tez-api in master has 545 extant spotbugs warnings.
+0 🆗 spotbugs 1m 47s tez-dag in master has 749 extant spotbugs warnings.
+0 🆗 spotbugs 0m 50s tez-tests in master has 6 extant spotbugs warnings.
+0 🆗 spotbugs 0m 47s tez-ext-service-tests in master has 62 extant spotbugs warnings.
+0 🆗 spotbugs 0m 46s tez-plugins/tez-protobuf-history-plugin in master has 26 extant spotbugs warnings.
+0 🆗 spotbugs 0m 43s tez-plugins/tez-yarn-timeline-history in master has 2 extant spotbugs warnings.
+0 🆗 spotbugs 0m 39s tez-plugins/tez-yarn-timeline-history-with-acls in master has 2 extant spotbugs warnings.
+0 🆗 spotbugs 0m 41s tez-plugins/tez-yarn-timeline-history-with-fs in master has 5 extant spotbugs warnings.
+0 🆗 spotbugs 0m 45s tez-plugins/tez-history-parser in master has 21 extant spotbugs warnings.
+0 🆗 spotbugs 0m 44s tez-plugins/tez-aux-services in master has 5 extant spotbugs warnings.
+0 🆗 spotbugs 6m 58s root in master has 1935 extant spotbugs warnings.
+0 🆗 spotbugs 0m 43s tez-tools/analyzers/job-analyzer in master has 20 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
-1 ❌ mvninstall 0m 18s /patch-mvninstall-tez-tests.txt tez-tests in the patch failed.
+1 💚 codespell 1m 48s No new issues.
+1 💚 compile 7m 45s the patch passed
+1 💚 javac 7m 45s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 0m 27s tez-api: The patch generated 0 new + 34 unchanged - 4 fixed = 34 total (was 38)
+1 💚 checkstyle 0m 37s The patch passed checkstyle in tez-dag
+1 💚 checkstyle 0m 26s The patch passed checkstyle in tez-tests
+1 💚 checkstyle 0m 23s The patch passed checkstyle in tez-ext-service-tests
+1 💚 checkstyle 0m 23s The patch passed checkstyle in tez-protobuf-history-plugin
+1 💚 checkstyle 0m 24s The patch passed checkstyle in tez-yarn-timeline-history
+1 💚 checkstyle 0m 23s The patch passed checkstyle in tez-yarn-timeline-history-with-acls
+1 💚 checkstyle 0m 23s The patch passed checkstyle in tez-yarn-timeline-history-with-fs
-0 ⚠️ checkstyle 0m 25s /results-checkstyle-tez-plugins_tez-history-parser.txt tez-plugins/tez-history-parser: The patch generated 1 new + 186 unchanged - 1 fixed = 187 total (was 187)
+1 💚 checkstyle 0m 25s The patch passed checkstyle in tez-aux-services
+1 💚 checkstyle 0m 25s The patch passed checkstyle in job-analyzer
-0 ⚠️ checkstyle 1m 0s /results-checkstyle-root.txt root: The patch generated 1 new + 309 unchanged - 5 fixed = 310 total (was 314)
+1 💚 javadoc 6m 14s the patch passed
+1 💚 spotbugs 1m 44s tez-api generated 0 new + 544 unchanged - 1 fixed = 544 total (was 545)
+1 💚 spotbugs 2m 4s tez-dag in the patch passed.
+1 💚 spotbugs 1m 3s tez-tests in the patch passed.
+1 💚 spotbugs 1m 1s tez-ext-service-tests in the patch passed.
+1 💚 spotbugs 0m 59s tez-protobuf-history-plugin in the patch passed.
+1 💚 spotbugs 0m 57s tez-yarn-timeline-history in the patch passed.
+1 💚 spotbugs 0m 51s tez-yarn-timeline-history-with-acls in the patch passed.
+1 💚 spotbugs 0m 53s tez-yarn-timeline-history-with-fs in the patch passed.
+1 💚 spotbugs 0m 58s tez-history-parser in the patch passed.
+1 💚 spotbugs 0m 58s tez-aux-services in the patch passed.
+1 💚 spotbugs 1m 3s job-analyzer in the patch passed.
+1 💚 spotbugs 8m 6s root generated 0 new + 1934 unchanged - 1 fixed = 1934 total (was 1935)
_ Other Tests _
+1 💚 unit 2m 28s tez-api in the patch passed.
+1 💚 unit 5m 46s tez-dag in the patch passed.
+1 💚 unit 40m 59s tez-tests in the patch passed.
+1 💚 unit 4m 30s tez-ext-service-tests in the patch passed.
+1 💚 unit 0m 40s tez-protobuf-history-plugin in the patch passed.
+1 💚 unit 1m 49s tez-yarn-timeline-history in the patch passed.
+1 💚 unit 1m 57s tez-yarn-timeline-history-with-acls in the patch passed.
+1 💚 unit 1m 46s tez-yarn-timeline-history-with-fs in the patch passed.
+1 💚 unit 2m 34s tez-history-parser in the patch passed.
+1 💚 unit 3m 2s tez-aux-services in the patch passed.
+1 💚 unit 2m 54s job-analyzer in the patch passed.
+1 💚 unit 72m 35s root in the patch passed.
+1 💚 asflicense 5m 32s The patch does not generate ASF License warnings.
245m 48s
Subsystem Report/Notes
Docker ClientAPI=1.54 ServerAPI=1.54 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/7/artifact/out/Dockerfile
GITHUB PR #474
Optional Tests dupname asflicense javac javadoc unit codespell detsecrets xmllint compile spotbugs checkstyle
uname Linux 79a8c2db6e7b 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-home/workspace/tez-multibranch_PR-474/src/.yetus/personality.sh
git revision master / 76a32cb
Default Java Ubuntu-21.0.10+7-Ubuntu-124.04
Test Results https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/7/testReport/
Max. process+thread count 1443 (vs. ulimit of 5500)
modules C: tez-api tez-dag tez-tests tez-ext-service-tests tez-plugins/tez-protobuf-history-plugin tez-plugins/tez-yarn-timeline-history tez-plugins/tez-yarn-timeline-history-with-acls tez-plugins/tez-yarn-timeline-history-with-fs tez-plugins/tez-history-parser tez-plugins/tez-aux-services tez-tools/analyzers/job-analyzer . U: .
Console output https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/7/console
versions git=2.43.0 maven=3.9.14 spotbugs=4.9.3 codespell=2.4.1
Powered by Apache Yetus 0.15.1 https://yetus.apache.org

This message was automatically generated.

@maheshrajus

Copy link
Copy Markdown
Contributor Author

@abstractdog @ayushtkn @Aggarwal-Raghav
Could you please review and approve the PR at your convenience?
Thank you !

@abstractdog abstractdog requested review from abstractdog and removed request for Aggarwal-Raghav May 18, 2026 06:53
@maheshrajus

Copy link
Copy Markdown
Contributor Author

@Aggarwal-Raghav Can you please check and confirm your opinion on above points which we discussed ? Thanks !

@Aggarwal-Raghav

Copy link
Copy Markdown
Contributor

@maheshrajus , I'll check this by EOD or tomorrow.

@tez-yetus

Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 9m 21s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 5 new or modified test files.
_ master Compile Tests _
+0 🆗 mvndep 0m 40s Maven dependency ordering for branch
+1 💚 mvninstall 4m 42s master passed
+1 💚 compile 3m 57s master passed
+1 💚 checkstyle 5m 38s master passed
+1 💚 javadoc 6m 1s master passed
+0 🆗 spotbugs 1m 24s tez-api in master has 92 extant spotbugs warnings.
+0 🆗 spotbugs 1m 43s tez-dag in master has 537 extant spotbugs warnings.
+0 🆗 spotbugs 0m 48s tez-tests in master has 6 extant spotbugs warnings.
+0 🆗 spotbugs 0m 46s tez-plugins/tez-protobuf-history-plugin in master has 7 extant spotbugs warnings.
+0 🆗 spotbugs 0m 43s tez-plugins/tez-yarn-timeline-history in master has 2 extant spotbugs warnings.
+0 🆗 spotbugs 0m 40s tez-plugins/tez-yarn-timeline-history-with-acls in master has 2 extant spotbugs warnings.
+0 🆗 spotbugs 0m 41s tez-plugins/tez-yarn-timeline-history-with-fs in master has 5 extant spotbugs warnings.
+0 🆗 spotbugs 0m 45s tez-plugins/tez-history-parser in master has 21 extant spotbugs warnings.
+0 🆗 spotbugs 0m 44s tez-plugins/tez-aux-services in master has 5 extant spotbugs warnings.
+0 🆗 spotbugs 6m 49s root in master has 1054 extant spotbugs warnings.
+0 🆗 spotbugs 0m 45s tez-tools/analyzers/job-analyzer in master has 20 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 23s Maven dependency ordering for patch
+1 💚 mvninstall 4m 2s the patch passed
+1 💚 codespell 1m 46s No new issues.
+1 💚 compile 3m 58s the patch passed
+1 💚 javac 3m 58s root generated 0 new + 735 unchanged - 7 fixed = 735 total (was 742)
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 0m 28s tez-api: The patch generated 0 new + 34 unchanged - 4 fixed = 34 total (was 38)
+1 💚 checkstyle 0m 35s The patch passed checkstyle in tez-dag
+1 💚 checkstyle 0m 27s The patch passed checkstyle in tez-tests
+1 💚 checkstyle 0m 24s The patch passed checkstyle in tez-ext-service-tests
+1 💚 checkstyle 0m 24s The patch passed checkstyle in tez-protobuf-history-plugin
+1 💚 checkstyle 0m 23s The patch passed checkstyle in tez-yarn-timeline-history
+1 💚 checkstyle 0m 22s The patch passed checkstyle in tez-yarn-timeline-history-with-acls
+1 💚 checkstyle 0m 22s The patch passed checkstyle in tez-yarn-timeline-history-with-fs
-0 ⚠️ checkstyle 0m 26s /results-checkstyle-tez-plugins_tez-history-parser.txt tez-plugins/tez-history-parser: The patch generated 2 new + 186 unchanged - 1 fixed = 188 total (was 187)
+1 💚 checkstyle 0m 24s The patch passed checkstyle in tez-aux-services
+1 💚 checkstyle 0m 24s The patch passed checkstyle in job-analyzer
-0 ⚠️ checkstyle 1m 0s /results-checkstyle-root.txt root: The patch generated 2 new + 309 unchanged - 5 fixed = 311 total (was 314)
+1 💚 javadoc 6m 15s the patch passed
+1 💚 spotbugs 1m 32s tez-api generated 0 new + 91 unchanged - 1 fixed = 91 total (was 92)
+1 💚 spotbugs 1m 55s tez-dag in the patch passed.
+1 💚 spotbugs 1m 1s tez-tests in the patch passed.
+1 💚 spotbugs 0m 59s tez-ext-service-tests in the patch passed.
+1 💚 spotbugs 0m 58s tez-protobuf-history-plugin in the patch passed.
+1 💚 spotbugs 0m 56s tez-yarn-timeline-history in the patch passed.
+1 💚 spotbugs 0m 51s tez-yarn-timeline-history-with-acls in the patch passed.
+1 💚 spotbugs 0m 54s tez-yarn-timeline-history-with-fs in the patch passed.
+1 💚 spotbugs 0m 59s tez-history-parser in the patch passed.
+1 💚 spotbugs 0m 57s tez-aux-services in the patch passed.
+1 💚 spotbugs 0m 59s job-analyzer in the patch passed.
+1 💚 spotbugs 7m 7s root generated 0 new + 1053 unchanged - 1 fixed = 1053 total (was 1054)
_ Other Tests _
+1 💚 unit 74m 22s root in the patch passed.
+1 💚 asflicense 5m 39s The patch does not generate ASF License warnings.
174m 1s
Subsystem Report/Notes
Docker ClientAPI=1.54 ServerAPI=1.54 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/8/artifact/out/Dockerfile
Optional Tests dupname compile unit asflicense javac javadoc codespell detsecrets xmllint spotbugs checkstyle
uname Linux 9c1b9bc535d4 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality tez-personality.sh
git revision master / b6b5d42
Default Java Eclipse Adoptium-21.0.11+10-LTS
Test Results https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/8/testReport/
Max. process+thread count 1302 (vs. ulimit of 5500)
modules C: tez-api tez-dag tez-tests tez-ext-service-tests tez-plugins/tez-protobuf-history-plugin tez-plugins/tez-yarn-timeline-history tez-plugins/tez-yarn-timeline-history-with-acls tez-plugins/tez-yarn-timeline-history-with-fs tez-plugins/tez-history-parser tez-plugins/tez-aux-services tez-tools/analyzers/job-analyzer . U: .
Console output https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/8/console
versions git=2.43.0 maven=3.9.15 spotbugs=4.9.3 codespell=2.4.1
Powered by Apache Yetus 0.15.1 https://yetus.apache.org

This message was automatically generated.

Comment thread tez-ext-service-tests/pom.xml Outdated
@maheshrajus

Copy link
Copy Markdown
Contributor Author

@Aggarwal-Raghav Thanks for your inputs on this PR. Let me check and confirm the above discussed points.

@tez-yetus

Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ docker 0m 32s Docker failed to build run-specific yetus/tez:tp-3271}.
Subsystem Report/Notes
Console output https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/9/console
versions git=2.34.1
Powered by Apache Yetus 0.15.1 https://yetus.apache.org

This message was automatically generated.

@maheshrajus

Copy link
Copy Markdown
Contributor Author

@Aggarwal-Raghav Fixed your review comments. Can you please check and confirm at your free time. Thanks !

@abstractdog

Copy link
Copy Markdown
Contributor

the latest job (https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/9/console) failed with:

09:23:54  ERROR: failed to build: failed to solve: process "/bin/ash -o pipefail -c apk add --no-cache curl     && curl -sSL [https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64](https://github.com/hadolint/hadolint/releases/download/v$%7BHADOLINT_VERSION%7D/hadolint-Linux-x86_64) -o /bin/hadolint     && chmod a+rx /bin/hadolint     && echo \"${HADOLINT_SHA}  /bin/hadolint\" | sha512sum -c -" did not complete successfully: exit code: 1
...
09:23:56  #2 ERROR: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

which is strange as my job is currently successfully passing this point (https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-504/6/)

@Aggarwal-Raghav: you had similar failure recently, can you recall if it was a flaky thing or if it was resolved with some magic, rebase, etc.?

@Aggarwal-Raghav

Copy link
Copy Markdown
Contributor

the latest job (https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/9/console) failed with:

09:23:54  ERROR: failed to build: failed to solve: process "/bin/ash -o pipefail -c apk add --no-cache curl     && curl -sSL [https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64](https://github.com/hadolint/hadolint/releases/download/v$%7BHADOLINT_VERSION%7D/hadolint-Linux-x86_64) -o /bin/hadolint     && chmod a+rx /bin/hadolint     && echo \"${HADOLINT_SHA}  /bin/hadolint\" | sha512sum -c -" did not complete successfully: exit code: 1
...
09:23:56  #2 ERROR: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

which is strange as my job is currently successfully passing this point (https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-504/6/)

@Aggarwal-Raghav: you had similar failure recently, can you recall if it was a flaky thing or if it was resolved with some magic, rebase, etc.?

my last run also passed (https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-507/1/console), @maheshrajus , please try to force push again.
@abstractdog , issue i faced, maybe you are referring to #490 (comment), it was because of maven version moving from dlcdn -> archive i guess.

@maheshrajus

Copy link
Copy Markdown
Contributor Author

@abstractdog @Aggarwal-Raghav After force push the CI pipeline is running fine. Thanks !
https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/10/

@tez-yetus

Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 8m 7s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 5 new or modified test files.
_ master Compile Tests _
+0 🆗 mvndep 0m 42s Maven dependency ordering for branch
+1 💚 mvninstall 4m 51s master passed
+1 💚 compile 3m 59s master passed
+1 💚 checkstyle 4m 22s master passed
+1 💚 javadoc 4m 50s master passed
+0 🆗 spotbugs 1m 22s tez-api in master has 92 extant spotbugs warnings.
+0 🆗 spotbugs 1m 40s tez-dag in master has 537 extant spotbugs warnings.
+0 🆗 spotbugs 0m 47s tez-plugins/tez-protobuf-history-plugin in master has 7 extant spotbugs warnings.
+0 🆗 spotbugs 0m 42s tez-plugins/tez-yarn-timeline-history in master has 2 extant spotbugs warnings.
+0 🆗 spotbugs 0m 38s tez-plugins/tez-yarn-timeline-history-with-acls in master has 2 extant spotbugs warnings.
+0 🆗 spotbugs 0m 43s tez-plugins/tez-yarn-timeline-history-with-fs in master has 5 extant spotbugs warnings.
+0 🆗 spotbugs 0m 45s tez-plugins/tez-history-parser in master has 21 extant spotbugs warnings.
+0 🆗 spotbugs 6m 53s root in master has 1054 extant spotbugs warnings.
+0 🆗 spotbugs 0m 46s tez-tools/analyzers/job-analyzer in master has 20 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 4m 7s the patch passed
+1 💚 codespell 1m 47s No new issues.
+1 💚 compile 4m 0s the patch passed
-1 ❌ javac 4m 0s /results-compile-javac-root.txt root generated 1 new + 738 unchanged - 4 fixed = 739 total (was 742)
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 0m 27s /results-checkstyle-tez-api.txt tez-api: The patch generated 2 new + 38 unchanged - 0 fixed = 40 total (was 38)
-0 ⚠️ checkstyle 0m 23s /results-checkstyle-tez-plugins_tez-history-parser.txt tez-plugins/tez-history-parser: The patch generated 2 new + 186 unchanged - 1 fixed = 188 total (was 187)
-0 ⚠️ checkstyle 1m 0s /results-checkstyle-root.txt root: The patch generated 4 new + 313 unchanged - 1 fixed = 317 total (was 314)
+1 💚 javadoc 5m 3s the patch passed
+1 💚 spotbugs 16m 58s the patch passed
_ Other Tests _
+1 💚 unit 71m 21s root in the patch passed.
+1 💚 asflicense 4m 1s The patch does not generate ASF License warnings.
158m 20s
Subsystem Report/Notes
Docker ClientAPI=1.54 ServerAPI=1.54 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/10/artifact/out/Dockerfile
Optional Tests dupname compile unit asflicense javac javadoc codespell detsecrets xmllint spotbugs checkstyle
uname Linux 7822942470b9 5.15.0-181-generic #191-Ubuntu SMP Fri May 22 19:09:02 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality tez-personality.sh
git revision master / 330fdc8
Default Java Eclipse Adoptium-21.0.11+10-LTS
Test Results https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/10/testReport/
Max. process+thread count 1363 (vs. ulimit of 5500)
modules C: tez-api tez-dag tez-plugins/tez-protobuf-history-plugin tez-plugins/tez-yarn-timeline-history tez-plugins/tez-yarn-timeline-history-with-acls tez-plugins/tez-yarn-timeline-history-with-fs tez-plugins/tez-history-parser tez-tools/analyzers/job-analyzer . U: .
Console output https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/10/console
versions git=2.43.0 maven=3.9.15 spotbugs=4.9.3 codespell=2.4.1
Powered by Apache Yetus 0.15.1 https://yetus.apache.org

This message was automatically generated.

@tez-yetus

Copy link
Copy Markdown

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 8m 57s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 5 new or modified test files.
_ master Compile Tests _
+0 🆗 mvndep 0m 41s Maven dependency ordering for branch
+1 💚 mvninstall 4m 44s master passed
+1 💚 compile 3m 55s master passed
+1 💚 checkstyle 4m 28s master passed
+1 💚 javadoc 4m 59s master passed
+0 🆗 spotbugs 1m 24s tez-api in master has 92 extant spotbugs warnings.
+0 🆗 spotbugs 1m 41s tez-dag in master has 537 extant spotbugs warnings.
+0 🆗 spotbugs 0m 47s tez-plugins/tez-protobuf-history-plugin in master has 7 extant spotbugs warnings.
+0 🆗 spotbugs 0m 44s tez-plugins/tez-yarn-timeline-history in master has 2 extant spotbugs warnings.
+0 🆗 spotbugs 0m 38s tez-plugins/tez-yarn-timeline-history-with-acls in master has 2 extant spotbugs warnings.
+0 🆗 spotbugs 0m 41s tez-plugins/tez-yarn-timeline-history-with-fs in master has 5 extant spotbugs warnings.
+0 🆗 spotbugs 0m 46s tez-plugins/tez-history-parser in master has 21 extant spotbugs warnings.
+0 🆗 spotbugs 6m 51s root in master has 1054 extant spotbugs warnings.
+0 🆗 spotbugs 0m 45s tez-tools/analyzers/job-analyzer in master has 20 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 22s Maven dependency ordering for patch
+1 💚 mvninstall 4m 2s the patch passed
+1 💚 codespell 1m 44s No new issues.
+1 💚 compile 4m 0s the patch passed
+1 💚 javac 4m 0s root generated 0 new + 738 unchanged - 4 fixed = 738 total (was 742)
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 0m 28s The patch passed checkstyle in tez-api
+1 💚 checkstyle 0m 36s The patch passed checkstyle in tez-dag
+1 💚 checkstyle 0m 24s The patch passed checkstyle in tez-protobuf-history-plugin
+1 💚 checkstyle 0m 24s The patch passed checkstyle in tez-yarn-timeline-history
+1 💚 checkstyle 0m 24s The patch passed checkstyle in tez-yarn-timeline-history-with-acls
+1 💚 checkstyle 0m 24s The patch passed checkstyle in tez-yarn-timeline-history-with-fs
+1 💚 checkstyle 0m 25s tez-plugins/tez-history-parser: The patch generated 0 new + 185 unchanged - 2 fixed = 185 total (was 187)
+1 💚 checkstyle 0m 25s The patch passed checkstyle in job-analyzer
+1 💚 checkstyle 1m 0s root: The patch generated 0 new + 312 unchanged - 2 fixed = 312 total (was 314)
+1 💚 javadoc 5m 2s the patch passed
+1 💚 spotbugs 16m 15s the patch passed
_ Other Tests _
+1 💚 unit 72m 37s root in the patch passed.
+1 💚 asflicense 4m 22s The patch does not generate ASF License warnings.
160m 4s
Subsystem Report/Notes
Docker ClientAPI=1.54 ServerAPI=1.54 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/12/artifact/out/Dockerfile
Optional Tests dupname compile unit asflicense javac javadoc codespell detsecrets xmllint spotbugs checkstyle
uname Linux 9201ede3f89c 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality tez-personality.sh
git revision master / cba5689
Default Java Eclipse Adoptium-21.0.11+10-LTS
Test Results https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/12/testReport/
Max. process+thread count 1446 (vs. ulimit of 5500)
modules C: tez-api tez-dag tez-plugins/tez-protobuf-history-plugin tez-plugins/tez-yarn-timeline-history tez-plugins/tez-yarn-timeline-history-with-acls tez-plugins/tez-yarn-timeline-history-with-fs tez-plugins/tez-history-parser tez-tools/analyzers/job-analyzer . U: .
Console output https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-474/12/console
versions git=2.43.0 maven=3.9.15 spotbugs=4.9.3 codespell=2.4.1
Powered by Apache Yetus 0.15.1 https://yetus.apache.org

This message was automatically generated.

@maheshrajus

Copy link
Copy Markdown
Contributor Author

@abstractdog @Aggarwal-Raghav I addressed all your review comments. Could you please take a look and approve it when you have a moment?
Thank you !

@abstractdog abstractdog left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @maheshrajus for the updated PR, left some comments, this is getting close!

public HttpURLConnection getConnection(URL url) throws IOException {
try {
AuthenticatedURL authenticatedURL= ReflectionUtils.createClazzInstance(
Object authenticatedURL = ReflectionUtils.createClazzInstance(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this should work with AuthenticatedURL

connConfigurator
});
return ReflectionUtils.invokeMethod(authenticatedURL,
return (HttpURLConnection) ReflectionUtils.invokeMethod(authenticatedURL,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cast is not needed here

String inputUrl = "http://host:8080/path";
String expectedUrl = inputUrl + "?user.name=" + UserGroupInformation.getCurrentUser().getShortUserName();
HttpURLConnection httpURLConnection = connectionFactory.getHttpURLConnection(new URL(inputUrl));
HttpURLConnection httpURLConnection = connectionFactory.getConnection(URI.create(inputUrl).toURL());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not related to the hadoop upgrade I think, but instead new URL becoming deprecated from Java20
if so, please create a separate ticket for handling the same in the whole tez codebase:

grep -iRH "new URL" --include="*.java"

Comment on lines +258 to +259
userName = subEntity.getString(Constants.ENTITY_ID);
break;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems unnecessary, we indent 2 spaces
it's strange that checkstyle didn't warn about this, can you please create a dummy PR to validate the same and a Jira if needed?

? jsonObject.getJSONObject("domain")
: jsonObject;
} else if (clazz == TimelineEntity.class) {
// TimelineEntity is annotated @XmlRootElement(name="entity"), Jersey 2/Jackson wrap it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: wraps

Comment thread pom.xml
</dependencies>
</dependencyManagement>

<dependencies>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why <dependencies> appeared here? afaik, we only handle dependencyManagement in the root pom.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants