Skip to content

TEZ-4715: Migrate Tez PB Protocols from ProtobufRPCEngine to ProtobufRPCEngine2 - #493

Open
Aggarwal-Raghav wants to merge 1 commit into
apache:masterfrom
Aggarwal-Raghav:TEZ-4715
Open

TEZ-4715: Migrate Tez PB Protocols from ProtobufRPCEngine to ProtobufRPCEngine2#493
Aggarwal-Raghav wants to merge 1 commit into
apache:masterfrom
Aggarwal-Raghav:TEZ-4715

Conversation

@Aggarwal-Raghav

@Aggarwal-RaghavAggarwal-Raghav commented Apr 28, 2026

Copy link
Copy Markdown
Contributor
  1. Migrated Protobuf imports from com.google.protobuf to shaded org.apache.hadoop.thirdparty.protobuf
  2. Added hadoop-thirdparty dependency (v1.4.0) to the root POM to ensure Hadoop 3.4.2 compatibility. This will be updated for every hadoop version upgrade. For now I have kept proto version to 3.25.5 as it was in tez and will be in-sync with hadoop-3.5.0
  3. Used maven-replacer-plugin (same as hadoop) to automated package refactoring in generated proto code.

@tez-yetus

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/1/console in case of problems.

@Aggarwal-Raghav

Copy link
Copy Markdown
ContributorAuthor

Jenkins is not updating the final status 😔

[2026-04-29T22:12:13.679Z] [2026-04-29T22:12:13.679Z] ============================================================================
[2026-04-29T22:12:13.679Z] ============================================================================
[2026-04-29T22:12:13.679Z] Adding comment to Github
[2026-04-29T22:12:13.679Z] ============================================================================
[2026-04-29T22:12:13.679Z] ============================================================================
[2026-04-29T22:12:13.679Z] [2026-04-29T22:12:13.679Z] [2026-04-29T22:12:16.867Z] ERROR: Failed to write github status. Token expired or missing repo:status write?
[2026-04-29T22:12:16.867Z] ERROR: Failed to write github status. Token expired or missing repo:status write?
[2026-04-29T22:12:17.431Z] ERROR: Failed to write github status. Token expired or missing repo:status write?
[2026-04-29T22:12:17.431Z] ERROR: Failed to write github status. Token expired or missing repo:status write?
[2026-04-29T22:12:17.997Z] ERROR: Failed to write github status. Token expired or missing repo:status write?
[2026-04-29T22:12:18.561Z] ERROR: Failed to write github status. Token expired or missing repo:status write?
[2026-04-29T22:12:18.561Z] ERROR: Failed to write github status. Token expired or missing repo:status write?
[2026-04-29T22:12:19.124Z] ERROR: Failed to write github status. Token expired or missing repo:status write?
[2026-04-29T22:12:19.689Z] ERROR: Failed to write github status. Token expired or missing repo:status write?
[2026-04-29T22:12:19.689Z] ERROR: Failed to write github status. Token expired or missing repo:status write?
[2026-04-29T22:12:20.253Z] ERROR: Failed to write github status. Token expired or missing repo:status write?

@Aggarwal-Raghav

Aggarwal-Raghav commented May 1, 2026

Copy link
Copy Markdown
ContributorAuthor

The UT failure debugging in #483 (comment) requires hadoop thirdparty making this PR dependent.

TEZ-4715 + TEZ-4708 will completely migrate tez from WritableRPCEngine + ProtobufRPCEngine => ProtobufRPCEngine2

@abstractdog
abstractdog requested a review from ayushtknMay 2, 2026 05:51
@ayushtkn

Copy link
Copy Markdown
Member

@abstractdog From the code point of view, this seems right, We had to just use the RPCEngine2 & migrate to the Hadoop Thirdparty. That is rightly done here.

But I think this would be an incompatible change, beyond this point I believe Hive master won't build nor work with Tez master. Hive has to do the same activity when moving to Tez-1.0.0 & that would be incompatible for Hive as well & believe the older Hadoop versions won't work post this activity in Hive or Tez, unless there was something done later to fix it, which I don't think...

There were compat issues that is why I believe HADOOP-17046 was done later to make sure older client can work with them. Means protobuf is indeed a very known heavy Incompat change, a lot of discussion at HADOOP-13363, in case interested.

These are the tradeoffs, I just wanted to highlight. Rest all cool

@Aggarwal-Raghav

Copy link
Copy Markdown
ContributorAuthor

@abstractdog@ayushtkn , can you help on the CI for this?

[2026-05-01T08:30:07.897Z] ERROR: Caught signal TERM.
[2026-05-01T08:30:07.897Z] [2026-05-01T08:30:07.897Z] [2026-05-01T08:30:07.897Z] Cleaning up docker image used for testing.
[2026-05-01T08:30:07.897Z] [Fri May 1 08:30:04 AM UTC 2026 DEBUG]: dockercmd: /usr/bin/docker rmi yetus/tez:tp-3788
[2026-05-01T08:30:07.898Z] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

@tez-yetus

This comment was marked as outdated.

@tez-yetus

This comment was marked as outdated.

@Aggarwal-Raghav

Copy link
Copy Markdown
ContributorAuthor

I verified that the JAVA_HOME exists in the docker image
Screenshot 2026-05-10 at 4 26 48 PM

but it the jenkins the JAVA_HOME is explicitly set:

2026-05-10T10:51:24.988Z] [Sun May 10 10:51:24 AM UTC 2026 DEBUG]: dockercmd: /usr/bin/docker run --rm=true -i -v ... --env=JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 

@tez-yetus

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/6/console in case of problems.

@tez-yetus

This comment was marked as outdated.

@tez-yetus

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/7/console in case of problems.

@tez-yetus

This comment was marked as outdated.

Aggarwal-Raghav added a commit to Aggarwal-Raghav/tez that referenced this pull request May 10, 2026
…erfile (apache#493)
- Resolve JAVA_HOME mismatch by creating a symlink from the host's expected path
(/usr/lib/jvm/java-XX-openjdk-amd64) to the container's internal path (/opt/java/openjdk).
- Parameterize JAVA_VERSION using a build argument to simplify future JDK upgrades.
- Add descriptive comments regarding environment variable propagation from Yetus.
- Fix ShellCheck SC2086 by adding quotes to the symlink path.
@Aggarwal-Raghav

Copy link
Copy Markdown
ContributorAuthor

@abstractdog , can you please remove the JAVA_HOME env varaible setting in docke run command from Jenkins?
I tried creating symlink but its not helping.

Let me know if i need to revert #494.

CI for tez is not a good experiece at all, this issue should have been caught in #494 itself. Moreover, not sure why mvninstall is failing in run 4. This diff patch running is not helping as it is trying to dowload the SNAPSHOT tez modules jars (i believe).

@abstractdog

Copy link
Copy Markdown
Contributor

@abstractdog , can you please remove the JAVA_HOME env varaible setting in docke run command from Jenkins? I tried creating symlink but its not helping.

Let me know if i need to revert #494.

CI for tez is not a good experiece at all, this issue should have been caught in #494 itself. Moreover, not sure why mvninstall is failing in run 4. This diff patch running is not helping as it is trying to dowload the SNAPSHOT tez modules jars (i believe).

this is very weird, I guess your Dockerfile change didn't trigger a precommit test
I'm in favor of running the whole test for every PR, I already created a corresponding ticket for that https://issues.apache.org/jira/browse/TEZ-4355

your improvement in #494 was great, so I would not revert it if we can fix the problem in 1-2 days (considering the project's pace, it's fine)

@Aggarwal-Raghav

Aggarwal-Raghav commented May 10, 2026

Copy link
Copy Markdown
ContributorAuthor

OK, pipeline seems to be progressing now. I have updated the JAVA_HOME in Jenkinsfile to match the eclipse temurin JAVA_HOME. Internally we use cloudbees Jenkins and some additional tools that passes the env variables, so I thought that JAVA_HOME was coming from Jenkins UI but it was not the case. That's why I asked:

can you please remove the JAVA_HOME env varaible setting in docke run command from Jenkins? I tried creating symlink but its not helping.

If the run#8 works then I'll raise an addendum PR for TEZ-4717 incorporating Jenkins file change in it. I don't see any other place in project where it need updation for JAVA_HOME

Screenshot 2026-05-11 at 2 33 20 AM

@tez-yetus

This comment was marked as outdated.

@tez-yetus

This comment was marked as outdated.

@Aggarwal-Raghav

Copy link
Copy Markdown
ContributorAuthor

This is ready for review @ayushtkn@abstractdog , the spotbugs are unrelated and mvninstall is false positive

@Aggarwal-Raghav

Copy link
Copy Markdown
ContributorAuthor

Rebased the PR with latest master.

@tez-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec8m 53sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+0 🆗detsecrets0m 1sdetect-secrets was not available.
+0 🆗xmllint0m 0sxmllint was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 34 new or modified test files.
_ master Compile Tests _
+0 🆗mvndep0m 41sMaven dependency ordering for branch
+1 💚mvninstall4m 45smaster passed
+1 💚compile3m 56smaster passed
+1 💚checkstyle6m 17smaster passed
+1 💚javadoc6m 35smaster passed
+0 🆗spotbugs1m 22stez-api in master has 92 extant spotbugs warnings.
+0 🆗spotbugs0m 46stez-common in master has 13 extant spotbugs warnings.
+0 🆗spotbugs0m 53stez-runtime-internals in master has 92 extant spotbugs warnings.
+0 🆗spotbugs1m 11stez-runtime-library in master has 143 extant spotbugs warnings.
+0 🆗spotbugs0m 55stez-mapreduce in master has 97 extant spotbugs warnings.
+0 🆗spotbugs1m 40stez-dag in master has 537 extant spotbugs warnings.
+0 🆗spotbugs0m 50stez-tests in master has 6 extant spotbugs warnings.
+0 🆗spotbugs0m 47stez-plugins/tez-protobuf-history-plugin in master has 7 extant spotbugs warnings.
+0 🆗spotbugs0m 42stez-plugins/tez-yarn-timeline-history-with-fs in master has 5 extant spotbugs warnings.
+0 🆗spotbugs0m 42stez-plugins/tez-aux-services in master has 5 extant spotbugs warnings.
+0 🆗spotbugs6m 49sroot in master has 1054 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 59sthe patch passed
+1 💚codespell1m 45sNo new issues.
+1 💚compile3m 58sthe patch passed
+1 💚javac3m 58sroot generated 0 new + 738 unchanged - 4 fixed = 738 total (was 742)
+1 💚blanks0m 1sThe patch has no blanks issues.
+1 💚checkstyle6m 12sthe patch passed
+1 💚javadoc6m 41sthe patch passed
-1 ❌spotbugs1m 3s/new-spotbugs-tez-plugins_tez-protobuf-history-plugin.htmltez-plugins/tez-protobuf-history-plugin generated 4 new + 3 unchanged - 4 fixed = 7 total (was 7)
-1 ❌spotbugs7m 15s/new-spotbugs-root.htmlroot generated 4 new + 1050 unchanged - 4 fixed = 1054 total (was 1054)
_ Other Tests _
+1 💚unit70m 44sroot in the patch passed.
+1 💚asflicense5m 41sThe patch does not generate ASF License warnings.
174m 12s
ReasonTests
SpotBugsmodule:tez-plugins/tez-protobuf-history-plugin
Exception thrown in class org.apache.tez.dag.history.logging.proto.DatePartitionedLogger at new org.apache.tez.dag.history.logging.proto.DatePartitionedLogger(Parser, Path, Configuration, Clock) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At DatePartitionedLogger.java:at new org.apache.tez.dag.history.logging.proto.DatePartitionedLogger(Parser, Path, Configuration, Clock) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At DatePartitionedLogger.java:[line 68]
org.apache.tez.dag.history.logging.proto.ProtoMessageWritable.getMessage() may expose internal representation by returning ProtoMessageWritable.message At ProtoMessageWritable.java:by returning ProtoMessageWritable.message At ProtoMessageWritable.java:[line 48]
org.apache.tez.dag.history.logging.proto.ProtoMessageWritable.setMessage(MessageLite) may expose internal representation by storing an externally mutable object into ProtoMessageWritable.message At ProtoMessageWritable.java:by storing an externally mutable object into ProtoMessageWritable.message At ProtoMessageWritable.java:[line 52]
Exception thrown in class org.apache.tez.dag.history.logging.proto.ProtoMessageWriter at new org.apache.tez.dag.history.logging.proto.ProtoMessageWriter(Configuration, Path, Parser) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At ProtoMessageWriter.java:at new org.apache.tez.dag.history.logging.proto.ProtoMessageWriter(Configuration, Path, Parser) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At ProtoMessageWriter.java:[line 41]
SpotBugsmodule:root
Exception thrown in class org.apache.tez.dag.history.logging.proto.DatePartitionedLogger at new org.apache.tez.dag.history.logging.proto.DatePartitionedLogger(Parser, Path, Configuration, Clock) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At DatePartitionedLogger.java:at new org.apache.tez.dag.history.logging.proto.DatePartitionedLogger(Parser, Path, Configuration, Clock) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At DatePartitionedLogger.java:[line 68]
org.apache.tez.dag.history.logging.proto.ProtoMessageWritable.getMessage() may expose internal representation by returning ProtoMessageWritable.message At ProtoMessageWritable.java:by returning ProtoMessageWritable.message At ProtoMessageWritable.java:[line 48]
org.apache.tez.dag.history.logging.proto.ProtoMessageWritable.setMessage(MessageLite) may expose internal representation by storing an externally mutable object into ProtoMessageWritable.message At ProtoMessageWritable.java:by storing an externally mutable object into ProtoMessageWritable.message At ProtoMessageWritable.java:[line 52]
Exception thrown in class org.apache.tez.dag.history.logging.proto.ProtoMessageWriter at new org.apache.tez.dag.history.logging.proto.ProtoMessageWriter(Configuration, Path, Parser) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At ProtoMessageWriter.java:at new org.apache.tez.dag.history.logging.proto.ProtoMessageWriter(Configuration, Path, Parser) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At ProtoMessageWriter.java:[line 41]
SubsystemReport/Notes
DockerClientAPI=1.54 ServerAPI=1.54 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/10/artifact/out/Dockerfile
Optional Testsdupname compile unit asflicense codespell detsecrets javac javadoc xmllint spotbugs checkstyle
unameLinux eca32b9d2182 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 toolmaven
Personalitytez-personality.sh
git revisionmaster / b6b5d42
Default JavaEclipse Adoptium-21.0.11+10-LTS
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/10/testReport/
Max. process+thread count1358 (vs. ulimit of 5500)
modulesC: tez-api tez-common tez-runtime-internals tez-runtime-library tez-mapreduce tez-dag tez-tests tez-ext-service-tests tez-plugins/tez-protobuf-history-plugin tez-plugins/tez-yarn-timeline-history-with-fs tez-plugins/tez-aux-services . U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/10/console
versionsgit=2.43.0 maven=3.9.15 spotbugs=4.9.3 codespell=2.4.1
Powered byApache Yetus 0.15.1 https://yetus.apache.org

This message was automatically generated.

@Aggarwal-Raghav

Copy link
Copy Markdown
ContributorAuthor

The CI has passed, the spotbugs are not relevant to my change.
In Run9 older Jenkinsfile mvninstall was failing.
in Run10, new Jenkinsfile mvninstall is passing.

@Aggarwal-Raghav

Copy link
Copy Markdown
ContributorAuthor

@ayushtkn , This is ready from my end. Could you please verify if it is ready for merging?

@Aggarwal-Raghav

Copy link
Copy Markdown
ContributorAuthor

Rebased to resolve merge conflicts

@tez-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec9m 19sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+0 🆗detsecrets0m 1sdetect-secrets was not available.
+0 🆗xmllint0m 0sxmllint was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 34 new or modified test files.
_ master Compile Tests _
+0 🆗mvndep0m 43sMaven dependency ordering for branch
+1 💚mvninstall4m 49smaster passed
+1 💚compile3m 58smaster passed
+1 💚checkstyle6m 11smaster passed
+1 💚javadoc6m 29smaster passed
+0 🆗spotbugs1m 21stez-api in master has 92 extant spotbugs warnings.
+0 🆗spotbugs0m 46stez-common in master has 13 extant spotbugs warnings.
+0 🆗spotbugs0m 52stez-runtime-internals in master has 92 extant spotbugs warnings.
+0 🆗spotbugs1m 12stez-runtime-library in master has 143 extant spotbugs warnings.
+0 🆗spotbugs0m 55stez-mapreduce in master has 97 extant spotbugs warnings.
+0 🆗spotbugs1m 42stez-dag in master has 537 extant spotbugs warnings.
+0 🆗spotbugs0m 50stez-tests in master has 6 extant spotbugs warnings.
+0 🆗spotbugs0m 48stez-plugins/tez-protobuf-history-plugin in master has 7 extant spotbugs warnings.
+0 🆗spotbugs0m 43stez-plugins/tez-yarn-timeline-history-with-fs in master has 5 extant spotbugs warnings.
+0 🆗spotbugs0m 44stez-plugins/tez-aux-services in master has 5 extant spotbugs warnings.
+0 🆗spotbugs6m 50sroot in master has 1054 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for patch
-1 ❌mvninstall2m 3s/patch-mvninstall-root.txtroot in the patch failed.
+1 💚codespell1m 45sNo new issues.
-1 ❌compile1m 7s/patch-compile-root.txtroot in the patch failed.
-1 ❌javac1m 7s/patch-compile-root.txtroot in the patch failed.
+1 💚blanks0m 0sThe patch has no blanks issues.
-0 ⚠️checkstyle0m 32s/results-checkstyle-tez-runtime-library.txttez-runtime-library: The patch generated 6 new + 535 unchanged - 0 fixed = 541 total (was 535)
-0 ⚠️checkstyle0m 22s/results-checkstyle-tez-plugins_tez-yarn-timeline-history-with-fs.txttez-plugins/tez-yarn-timeline-history-with-fs: The patch generated 1 new + 7 unchanged - 0 fixed = 8 total (was 7)
-0 ⚠️checkstyle1m 6s/results-checkstyle-root.txtroot: The patch generated 7 new + 1706 unchanged - 0 fixed = 1713 total (was 1706)
-1 ❌javadoc0m 24s/patch-javadoc-tez-runtime-library.txttez-runtime-library in the patch failed.
-1 ❌javadoc0m 23s/patch-javadoc-tez-plugins_tez-yarn-timeline-history-with-fs.txttez-yarn-timeline-history-with-fs in the patch failed.
-1 ❌javadoc0m 42s/patch-javadoc-root.txtroot in the patch failed.
-1 ❌spotbugs0m 23s/patch-spotbugs-tez-runtime-library.txttez-runtime-library in the patch failed.
-1 ❌spotbugs0m 40s/patch-spotbugs-tez-dag.txttez-dag in the patch failed.
-1 ❌spotbugs0m 32s/patch-spotbugs-tez-tests.txttez-tests in the patch failed.
-1 ❌spotbugs1m 2s/new-spotbugs-tez-plugins_tez-protobuf-history-plugin.htmltez-plugins/tez-protobuf-history-plugin generated 4 new + 3 unchanged - 4 fixed = 7 total (was 7)
-1 ❌spotbugs0m 24s/patch-spotbugs-tez-plugins_tez-yarn-timeline-history-with-fs.txttez-yarn-timeline-history-with-fs in the patch failed.
-1 ❌spotbugs2m 1s/patch-spotbugs-root.txtroot in the patch failed.
_ Other Tests _
-1 ❌unit5m 17s/patch-unit-root.txtroot in the patch failed.
+1 💚asflicense4m 42sThe patch does not generate ASF License warnings.
92m 41s
ReasonTests
SpotBugsmodule:tez-plugins/tez-protobuf-history-plugin
Exception thrown in class org.apache.tez.dag.history.logging.proto.DatePartitionedLogger at new org.apache.tez.dag.history.logging.proto.DatePartitionedLogger(Parser, Path, Configuration, Clock) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At DatePartitionedLogger.java:at new org.apache.tez.dag.history.logging.proto.DatePartitionedLogger(Parser, Path, Configuration, Clock) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At DatePartitionedLogger.java:[line 68]
org.apache.tez.dag.history.logging.proto.ProtoMessageWritable.getMessage() may expose internal representation by returning ProtoMessageWritable.message At ProtoMessageWritable.java:by returning ProtoMessageWritable.message At ProtoMessageWritable.java:[line 48]
org.apache.tez.dag.history.logging.proto.ProtoMessageWritable.setMessage(MessageLite) may expose internal representation by storing an externally mutable object into ProtoMessageWritable.message At ProtoMessageWritable.java:by storing an externally mutable object into ProtoMessageWritable.message At ProtoMessageWritable.java:[line 52]
Exception thrown in class org.apache.tez.dag.history.logging.proto.ProtoMessageWriter at new org.apache.tez.dag.history.logging.proto.ProtoMessageWriter(Configuration, Path, Parser) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At ProtoMessageWriter.java:at new org.apache.tez.dag.history.logging.proto.ProtoMessageWriter(Configuration, Path, Parser) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At ProtoMessageWriter.java:[line 41]
SubsystemReport/Notes
DockerClientAPI=1.55 ServerAPI=1.55 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/11/artifact/out/Dockerfile
Optional Testsdupname compile unit asflicense codespell detsecrets javac javadoc xmllint spotbugs checkstyle
unameLinux 59deaedc85d2 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 toolmaven
Personalitytez-personality.sh
git revisionmaster / d348bf1
Default JavaEclipse Adoptium-21.0.11+10-LTS
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/11/testReport/
Max. process+thread count286 (vs. ulimit of 5500)
modulesC: tez-api tez-common tez-runtime-internals tez-runtime-library tez-mapreduce tez-dag tez-tests tez-ext-service-tests tez-plugins/tez-protobuf-history-plugin tez-plugins/tez-yarn-timeline-history-with-fs tez-plugins/tez-aux-services . U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/11/console
versionsgit=2.43.0 maven=3.9.15 spotbugs=4.9.3 codespell=2.4.1
Powered byApache Yetus 0.15.1 https://yetus.apache.org

This message was automatically generated.

@tez-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+0 🆗detsecrets0m 1sdetect-secrets was not available.
+0 🆗xmllint0m 0sxmllint was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 34 new or modified test files.
_ master Compile Tests _
+0 🆗mvndep0m 43sMaven dependency ordering for branch
+1 💚mvninstall4m 48smaster passed
+1 💚compile4m 1smaster passed
+1 💚checkstyle6m 12smaster passed
+1 💚javadoc6m 31smaster passed
+0 🆗spotbugs1m 21stez-api in master has 92 extant spotbugs warnings.
+0 🆗spotbugs0m 47stez-common in master has 13 extant spotbugs warnings.
+0 🆗spotbugs0m 53stez-runtime-internals in master has 92 extant spotbugs warnings.
+0 🆗spotbugs1m 13stez-runtime-library in master has 143 extant spotbugs warnings.
+0 🆗spotbugs0m 55stez-mapreduce in master has 97 extant spotbugs warnings.
+0 🆗spotbugs1m 41stez-dag in master has 537 extant spotbugs warnings.
+0 🆗spotbugs0m 50stez-tests in master has 6 extant spotbugs warnings.
+0 🆗spotbugs0m 49stez-plugins/tez-protobuf-history-plugin in master has 7 extant spotbugs warnings.
+0 🆗spotbugs0m 43stez-plugins/tez-yarn-timeline-history-with-fs in master has 5 extant spotbugs warnings.
+0 🆗spotbugs0m 44stez-plugins/tez-aux-services in master has 5 extant spotbugs warnings.
+0 🆗spotbugs6m 51sroot in master has 1054 extant spotbugs warnings.
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
-1 ❌mvninstall2m 9s/patch-mvninstall-root.txtroot in the patch failed.
+1 💚codespell1m 46sNo new issues.
-1 ❌compile1m 24s/patch-compile-root.txtroot in the patch failed.
-1 ❌javac1m 24s/patch-compile-root.txtroot in the patch failed.
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚checkstyle5m 58sthe patch passed
+1 💚javadoc6m 23sthe patch passed
-1 ❌spotbugs0m 34s/patch-spotbugs-tez-runtime-library.txttez-runtime-library in the patch failed.
-1 ❌spotbugs0m 41s/patch-spotbugs-tez-dag.txttez-dag in the patch failed.
-1 ❌spotbugs0m 31s/patch-spotbugs-tez-tests.txttez-tests in the patch failed.
-1 ❌spotbugs1m 2s/new-spotbugs-tez-plugins_tez-protobuf-history-plugin.htmltez-plugins/tez-protobuf-history-plugin generated 4 new + 3 unchanged - 4 fixed = 7 total (was 7)
-1 ❌spotbugs0m 27s/patch-spotbugs-tez-plugins_tez-yarn-timeline-history-with-fs.txttez-yarn-timeline-history-with-fs in the patch failed.
-1 ❌spotbugs2m 8s/patch-spotbugs-root.txtroot in the patch failed.
_ Other Tests _
-1 ❌unit5m 22s/patch-unit-root.txtroot in the patch failed.
+1 💚asflicense4m 48sThe patch does not generate ASF License warnings.
85m 56s
ReasonTests
SpotBugsmodule:tez-plugins/tez-protobuf-history-plugin
Exception thrown in class org.apache.tez.dag.history.logging.proto.DatePartitionedLogger at new org.apache.tez.dag.history.logging.proto.DatePartitionedLogger(Parser, Path, Configuration, Clock) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At DatePartitionedLogger.java:at new org.apache.tez.dag.history.logging.proto.DatePartitionedLogger(Parser, Path, Configuration, Clock) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At DatePartitionedLogger.java:[line 68]
org.apache.tez.dag.history.logging.proto.ProtoMessageWritable.getMessage() may expose internal representation by returning ProtoMessageWritable.message At ProtoMessageWritable.java:by returning ProtoMessageWritable.message At ProtoMessageWritable.java:[line 48]
org.apache.tez.dag.history.logging.proto.ProtoMessageWritable.setMessage(MessageLite) may expose internal representation by storing an externally mutable object into ProtoMessageWritable.message At ProtoMessageWritable.java:by storing an externally mutable object into ProtoMessageWritable.message At ProtoMessageWritable.java:[line 52]
Exception thrown in class org.apache.tez.dag.history.logging.proto.ProtoMessageWriter at new org.apache.tez.dag.history.logging.proto.ProtoMessageWriter(Configuration, Path, Parser) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At ProtoMessageWriter.java:at new org.apache.tez.dag.history.logging.proto.ProtoMessageWriter(Configuration, Path, Parser) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. At ProtoMessageWriter.java:[line 41]
SubsystemReport/Notes
DockerClientAPI=1.55 ServerAPI=1.55 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/12/artifact/out/Dockerfile
Optional Testsdupname compile unit asflicense codespell detsecrets javac javadoc xmllint spotbugs checkstyle
unameLinux a13b9698642c 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 toolmaven
Personalitytez-personality.sh
git revisionmaster / d348bf1
Default JavaEclipse Adoptium-21.0.11+10-LTS
Test Resultshttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/12/testReport/
Max. process+thread count264 (vs. ulimit of 5500)
modulesC: tez-api tez-common tez-runtime-internals tez-runtime-library tez-mapreduce tez-dag tez-tests tez-ext-service-tests tez-plugins/tez-protobuf-history-plugin tez-plugins/tez-yarn-timeline-history-with-fs tez-plugins/tez-aux-services . U: .
Console outputhttps://ci-hadoop.apache.org/job/tez-multibranch/job/PR-493/12/console
versionsgit=2.43.0 maven=3.9.15 spotbugs=4.9.3 codespell=2.4.1
Powered byApache Yetus 0.15.1 https://yetus.apache.org

This message was automatically generated.

@abstractdog

Copy link
Copy Markdown
Contributor

@Aggarwal-Raghav: besides the reported spotbugs problems (not sure how valid they are), can you please double-check if this upgrade breaks the current hive docker-compose setup? in general, Tez SNAPSHOT is not supposed to be stable all the time, but we're interested in merging this change can break anything
this is the setup I'm referring to: apache/hive#6435 (comment)
I can think of manually override the tez jars somehow
if a DAG is succeeded with new tez jars, we can make sure that the two proto versions are compatible over the wire

Sign up for freeto 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.

4 participants

@Aggarwal-Raghav@tez-yetus@ayushtkn@abstractdog