Skip to content
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

YARN-11786. Upgrade hadoop-yarn-server-timelineservice-hbase-tests to Support Trunk Compilation and Remove compatible hadoop version. #7453

Open
wants to merge 6 commits into
base: trunk
Choose a base branch
from

Conversation

slfan1989
Copy link
Contributor

@slfan1989 slfan1989 commented Mar 2, 2025

Description of PR

JIRA: YARN-11786. Upgrade hadoop-yarn-server-timelineservice-hbase-tests to Support Trunk Compilation and Remove compatible hadoop version.

I am attempting to upgrade the YARN module to JUnit5 unit tests. While working on the hadoop-yarn-server-timelineservice-hbase-tests module, I discovered that it is using Hadoop version 3.3.6. I plan to unify its version to the trunk version.

How was this patch tested?

mvn clean package -DskipTests -Pdist -Dmaven.javadoc.skip

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Hadoop Main 3.5.0-SNAPSHOT:
[INFO] 
[INFO] Apache Hadoop Main ................................. SUCCESS [  2.138 s]
[INFO] Apache Hadoop Build Tools .......................... SUCCESS [  2.698 s]
[INFO] Apache Hadoop Project POM .......................... SUCCESS [  1.418 s]
[INFO] Apache Hadoop Annotations .......................... SUCCESS [  2.168 s]
[INFO] Apache Hadoop Assemblies ........................... SUCCESS [  0.205 s]
[INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [  0.898 s]
[INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [  2.328 s]
[INFO] Apache Hadoop MiniKDC .............................. SUCCESS [  0.595 s]
[INFO] Apache Hadoop Auth ................................. SUCCESS [  3.429 s]
[INFO] Apache Hadoop Auth Examples ........................ SUCCESS [  0.565 s]
[INFO] Apache Hadoop Common ............................... SUCCESS [ 46.255 s]
[INFO] Apache Hadoop NFS .................................. SUCCESS [  3.421 s]
[INFO] Apache Hadoop KMS .................................. SUCCESS [  3.306 s]
[INFO] Apache Hadoop Registry ............................. SUCCESS [  3.353 s]
[INFO] Apache Hadoop Common Project ....................... SUCCESS [  0.283 s]
[INFO] Apache Hadoop HDFS Client .......................... SUCCESS [ 17.124 s]
[INFO] Apache Hadoop HDFS ................................. SUCCESS [ 25.423 s]
[INFO] Apache Hadoop HDFS Native Client ................... SUCCESS [  2.617 s]
[INFO] Apache Hadoop HttpFS ............................... SUCCESS [  3.877 s]
[INFO] Apache Hadoop HDFS-NFS ............................. SUCCESS [  3.021 s]
[INFO] Apache Hadoop YARN ................................. SUCCESS [  0.060 s]
[INFO] Apache Hadoop YARN API ............................. SUCCESS [  9.046 s]
[INFO] Apache Hadoop YARN Common .......................... SUCCESS [  8.669 s]
[INFO] Apache Hadoop YARN Server .......................... SUCCESS [  0.052 s]
[INFO] Apache Hadoop YARN Server Common ................... SUCCESS [  7.314 s]
[INFO] Apache Hadoop YARN ApplicationHistoryService ....... SUCCESS [  6.297 s]
[INFO] Apache Hadoop YARN Timeline Service ................ SUCCESS [  4.188 s]
[INFO] Apache Hadoop YARN Web Proxy ....................... SUCCESS [  3.193 s]
[INFO] Apache Hadoop YARN ResourceManager ................. SUCCESS [ 15.157 s]
[INFO] Apache Hadoop YARN NodeManager ..................... SUCCESS [ 11.951 s]
[INFO] Apache Hadoop YARN Server Tests .................... SUCCESS [  4.810 s]
[INFO] Apache Hadoop YARN Client .......................... SUCCESS [  5.912 s]
[INFO] Apache Hadoop MapReduce Client ..................... SUCCESS [  2.556 s]
[INFO] Apache Hadoop MapReduce Core ....................... SUCCESS [  9.568 s]
[INFO] Apache Hadoop MapReduce Common ..................... SUCCESS [  5.610 s]
[INFO] Apache Hadoop MapReduce Shuffle .................... SUCCESS [  4.901 s]
[INFO] Apache Hadoop MapReduce App ........................ SUCCESS [  5.976 s]
[INFO] Apache Hadoop MapReduce HistoryServer .............. SUCCESS [  4.588 s]
[INFO] Apache Hadoop MapReduce JobClient .................. SUCCESS [  6.167 s]
[INFO] Apache Hadoop Distributed Copy ..................... SUCCESS [  4.373 s]
[INFO] Apache Hadoop Mini-Cluster ......................... SUCCESS [  3.582 s]
[INFO] Apache Hadoop Federation Balance ................... SUCCESS [  4.577 s]
[INFO] Apache Hadoop HDFS-RBF ............................. SUCCESS [ 11.854 s]
[INFO] Apache Hadoop HDFS Project ......................... SUCCESS [  0.038 s]
[INFO] Apache Hadoop YARN SharedCacheManager .............. SUCCESS [  3.101 s]
[INFO] Apache Hadoop YARN Timeline Plugin Storage ......... SUCCESS [  3.376 s]
[INFO] Apache Hadoop YARN TimelineService HBase Backend ... SUCCESS [  0.052 s]
[INFO] Apache Hadoop YARN TimelineService HBase Common .... SUCCESS [  3.246 s]
[INFO] Apache Hadoop YARN TimelineService HBase Client .... SUCCESS [  4.628 s]
[INFO] Apache Hadoop YARN TimelineService HBase Servers ... SUCCESS [  0.058 s]
[INFO] Apache Hadoop YARN TimelineService HBase Server 2.5  SUCCESS [  5.745 s]
[INFO] Apache Hadoop YARN TimelineService HBase tests ..... SUCCESS [  4.607 s]
[INFO] Apache Hadoop YARN Router .......................... SUCCESS [  4.419 s]
[INFO] Apache Hadoop YARN TimelineService DocumentStore ... SUCCESS [  3.274 s]
[INFO] Apache Hadoop YARN GlobalPolicyGenerator ........... SUCCESS [  3.117 s]
[INFO] Apache Hadoop YARN Applications .................... SUCCESS [  0.049 s]
[INFO] Apache Hadoop YARN DistributedShell ................ SUCCESS [  3.532 s]
[INFO] Apache Hadoop YARN Unmanaged Am Launcher ........... SUCCESS [  2.865 s]
[INFO] Apache Hadoop YARN Services ........................ SUCCESS [  0.053 s]
[INFO] Apache Hadoop YARN Services Core ................... SUCCESS [  7.344 s]
[INFO] Apache Hadoop YARN Services API .................... SUCCESS [  4.138 s]
[INFO] Apache Hadoop YARN Application Catalog ............. SUCCESS [  0.047 s]
[INFO] Apache Hadoop YARN Application Catalog Webapp ...... SUCCESS [ 21.036 s]
[INFO] Apache Hadoop YARN Application Catalog Docker Image  SUCCESS [  0.828 s]
[INFO] Apache Hadoop YARN Application MaWo ................ SUCCESS [  0.043 s]
[INFO] Apache Hadoop YARN Application MaWo Core ........... SUCCESS [  2.100 s]
[INFO] Apache Hadoop YARN Site ............................ SUCCESS [  0.048 s]
[INFO] Apache Hadoop YARN Registry ........................ SUCCESS [  1.758 s]
[INFO] Apache Hadoop YARN UI .............................. SUCCESS [  0.202 s]
[INFO] Apache Hadoop YARN CSI ............................. SUCCESS [ 10.334 s]
[INFO] Apache Hadoop YARN Project ......................... SUCCESS [ 10.881 s]
[INFO] Apache Hadoop MapReduce HistoryServer Plugins ...... SUCCESS [  2.816 s]
[INFO] Apache Hadoop MapReduce NativeTask ................. SUCCESS [  3.563 s]
[INFO] Apache Hadoop MapReduce Uploader ................... SUCCESS [  2.731 s]
[INFO] Apache Hadoop MapReduce Examples ................... SUCCESS [  3.890 s]
[INFO] Apache Hadoop MapReduce ............................ SUCCESS [  5.007 s]
[INFO] Apache Hadoop MapReduce Streaming .................. SUCCESS [  4.151 s]
[INFO] Apache Hadoop Client Aggregator .................... SUCCESS [  2.903 s]
[INFO] Apache Hadoop Dynamometer Workload Simulator ....... SUCCESS [  3.391 s]
[INFO] Apache Hadoop Dynamometer Cluster Simulator ........ SUCCESS [  3.882 s]
[INFO] Apache Hadoop Dynamometer Block Listing Generator .. SUCCESS [  3.439 s]
[INFO] Apache Hadoop Dynamometer Dist ..................... SUCCESS [  2.518 s]
[INFO] Apache Hadoop Dynamometer .......................... SUCCESS [  0.032 s]
[INFO] Apache Hadoop Archives ............................. SUCCESS [  3.584 s]
[INFO] Apache Hadoop Archive Logs ......................... SUCCESS [  3.743 s]
[INFO] Apache Hadoop Rumen ................................ SUCCESS [  4.256 s]
[INFO] Apache Hadoop Gridmix .............................. SUCCESS [  3.915 s]
[INFO] Apache Hadoop Data Join ............................ SUCCESS [  3.840 s]
[INFO] Apache Hadoop Extras ............................... SUCCESS [  4.270 s]
[INFO] Apache Hadoop Pipes ................................ SUCCESS [  0.069 s]
[INFO] Apache Hadoop Amazon Web Services support .......... SUCCESS [ 16.810 s]
[INFO] Apache Hadoop Kafka Library support ................ SUCCESS [  2.285 s]
[INFO] Apache Hadoop Azure support ........................ SUCCESS [  6.668 s]
[INFO] Apache Hadoop Aliyun OSS support ................... SUCCESS [  3.194 s]
[INFO] Apache Hadoop Scheduler Load Simulator ............. SUCCESS [  3.667 s]
[INFO] Apache Hadoop Resource Estimator Service ........... SUCCESS [  2.734 s]
[INFO] Apache Hadoop Azure Data Lake support .............. SUCCESS [  2.640 s]
[INFO] Apache Hadoop Image Generation Tool ................ SUCCESS [  3.337 s]
[INFO] Apache Hadoop Tools Dist ........................... SUCCESS [  2.905 s]
[INFO] Apache Hadoop OpenStack support .................... SUCCESS [  0.070 s]
[INFO] Apache Hadoop Common Benchmark ..................... SUCCESS [ 12.729 s]
[INFO] Apache Hadoop Compatibility Benchmark .............. SUCCESS [  2.305 s]
[INFO] Apache Hadoop Tools ................................ SUCCESS [  0.031 s]
[INFO] Apache Hadoop Client API ........................... SUCCESS [03:44 min]
[INFO] Apache Hadoop Client Runtime ....................... SUCCESS [04:00 min]
[INFO] Apache Hadoop Client Packaging Invariants .......... SUCCESS [  0.932 s]
[INFO] Apache Hadoop Client Test Minicluster .............. SUCCESS [07:51 min]
[INFO] Apache Hadoop Client Packaging Invariants for Test . SUCCESS [  1.317 s]
[INFO] Apache Hadoop Client Packaging Integration Tests ... SUCCESS [  1.356 s]
[INFO] Apache Hadoop Distribution ......................... SUCCESS [ 55.360 s]
[INFO] Apache Hadoop Client Modules ....................... SUCCESS [  0.089 s]
[INFO] Apache Hadoop Tencent COS Support .................. SUCCESS [  5.099 s]
[INFO] Apache Hadoop OBS support .......................... SUCCESS [  4.770 s]
[INFO] Apache Hadoop Cloud Storage ........................ SUCCESS [  9.867 s]
[INFO] Apache Hadoop Cloud Storage Project ................ SUCCESS [  0.053 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

For code changes:

  • Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
  • Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
  • If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

@slfan1989
Copy link
Contributor Author

I am attempting to remove the compatible Hadoop version for the hadoop-yarn-server-timelineservice-hbase-tests module so that it can use the current version of the code for testing. The compilation process went smoothly without any packaging issues, but unit tests cannot be executed locally because HBase fails to initialize successfully. The exact problem is still unclear, and further investigation is underway.

cc: @ayushtkn @steveloughran @cnauroth

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 18m 7s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+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 2 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 42s Maven dependency ordering for branch
+1 💚 mvninstall 36m 22s trunk passed
+1 💚 compile 2m 37s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 compile 2m 14s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 checkstyle 1m 21s trunk passed
+1 💚 mvnsite 0m 59s trunk passed
+1 💚 javadoc 0m 57s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 0m 50s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 spotbugs 1m 33s trunk passed
+1 💚 shadedclient 38m 31s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 32s Maven dependency ordering for patch
+1 💚 mvninstall 0m 39s the patch passed
+1 💚 compile 2m 28s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javac 2m 28s the patch passed
+1 💚 compile 2m 7s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 javac 2m 7s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 1m 13s the patch passed
+1 💚 mvnsite 0m 45s the patch passed
+1 💚 javadoc 0m 39s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 0m 37s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
-1 ❌ spotbugs 0m 48s /new-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-timelineservice-hbase_hadoop-yarn-server-timelineservice-hbase-client.html hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚 shadedclient 39m 26s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 36s hadoop-yarn-server-timelineservice-hbase-client in the patch passed.
-1 ❌ unit 20m 47s /patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-timelineservice-hbase-tests.txt hadoop-yarn-server-timelineservice-hbase-tests in the patch failed.
+1 💚 asflicense 0m 36s The patch does not generate ASF License warnings.
184m 37s
Reason Tests
SpotBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client
Possible null pointer dereference of HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:[line 693]
Failed junit tests hadoop.yarn.server.timelineservice.storage.TestTimelineReaderHBaseDown
hadoop.yarn.server.timelineservice.storage.TestTimelineWriterHBaseDown
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/1/artifact/out/Dockerfile
GITHUB PR #7453
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux 52978c223681 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / c264409
Default Java Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/1/testReport/
Max. process+thread count 592 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/1/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@ayushtkn
Copy link
Member

ayushtkn commented Mar 3, 2025

I think I saw this in context of Hive as well, while trying to update Hbase, Can you check HBASE-28908, I think there is a workaround mentioned as well. See if it works

@slfan1989
Copy link
Contributor Author

I think I saw this in context of Hive as well, while trying to update Hbase, Can you check HBASE-28908, I think there is a workaround mentioned as well. See if it works

@ayushtkn Thank you very much for the information you provided. It looks very helpful!

@slfan1989 slfan1989 changed the title [DOT MERGE] REMOVE-COMPATIBLE-HADOOP-VERSION. YARN-11786. Upgrade hadoop-yarn-server-timelineservice-hbase-tests to Support Trunk Compilation and Remove compatible hadoop version. Mar 4, 2025
@slfan1989 slfan1989 marked this pull request as ready for review March 4, 2025 14:29
@slfan1989
Copy link
Contributor Author

@ayushtkn @steveloughran @Hexiaoqiao @cnauroth I have completed the modifications for this module, and we should have successfully removed support for the Hadoop-compatible version. The relevant unit tests have also been validated locally. A big thanks to @ayushtkn for the valuable information—it played a crucial role in completing the upgrade of this module.

The module now supports Jersey 2.46, and we've also upgraded the HBase version to 2.6.1.

Could you please help review this PR? Thank you very much!

@@ -150,7 +152,7 @@ public boolean equals(Object obj) {
private NavigableSet<TimelineEvent> events = new TreeSet<>();
private HashMap<String, Set<String>> isRelatedToEntities = new HashMap<>();
private HashMap<String, Set<String>> relatesToEntities = new HashMap<>();
private Long createdTime;
private Long createdTime = Instant.EPOCH.toEpochMilli();
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this potentially a backward-incompatible change? Could we start returning "1970" where previously the value was null/missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for reviewing this PR! We encountered a NullPointerException during unit testing. For the creation time, we need to set a default value, and I chose Instant.EPOCH over Instant.Min. In order to explain the issue clearly, we need to mention Jersey. I will provide a detailed explanation in response to your third question.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have rolled back this part of the code.

url -> {
HttpURLConnection conn;
try {
HttpURLConnection.setFollowRedirects(false);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why was it necessary to disable following redirects? This change is applied globally for the whole JVM. I wonder if it could have unintended side effects for other areas that expect to follow redirects (which is the default behavior).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a good question, and you're right, it's unnecessary. I can remove the code HttpURLConnection.setFollowRedirects(false);.

final ClientConfig cc = new ClientConfig();
cc.connectorProvider(getHttpURLConnectionFactory());
return ClientBuilder.newClient(cc)
.register(TimelineEntityReader.class)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not familiar with differences in the new Jersey version, but it seems like the prior code was much more driven by introspection and annotations instead of needing to register a lot of custom readers. Is there any way to make it more like the prior code? I'm concerned about risk of backward-incompatible changes in the manual approach and potential error-prone evolution of the code if fields are changed in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a good question. I believe we need to update some parts of the code to align with Jersey 2's standards, as certain parts of the code are not well-supported by the latest standards.

I first became aware of the issue with Jersey during the release of Hadoop 3.4.0, when aajisaka mentioned that, with Hadoop supporting JDK 11, there was an area that needed optimization — Jersey support. For more details, you can refer to HADOOP-15984 (updating Jersey from 1.19 to 2.x).

Jersey is a framework that supports RESTful WebService. When upgrading from version 1.x to 2.x, compatibility issues arise because these two versions are completely incompatible, with even basic methods being different.

To address this, we define custom readers because Jersey 2.x only supports automatic JSON conversion for basic data types and does not support automatic conversion for more complex types. More details can be found in the official documentation.

While writing these readers, I used com.fasterxml.jackson.databind.ObjectMapper to implement automatic conversion between objects and JSON. However, ObjectMapper cannot handle null pointer exceptions, which leads to the first question — the need to assign initial values to certain variables.

After upgrading to JUnit 5, we will configure a new JDK 17 CI pipeline. Following that, I will begin the deeper adaptation and upgrade of Jersey 2.

Copy link
Contributor

@cnauroth cnauroth Mar 4, 2025

Choose a reason for hiding this comment

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

@slfan1989 , thank you for the reply. This is helpful information.

It sounds like some of this is just unavoidable with this Jersey upgrade. The biggest thing I'm concerned about is the potential to break YARN's user-facing APIs. Please correct me if I'm wrong, but I think we want to maintain full API compatibility in the 3.5.0 release. If so, how can we be confident about this? Maybe we need to spin up some kind of test of a 3.4 client against a 3.5 server?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cnauroth Thank you for your message. We need to ensure the compatibility of the interfaces. For the YARN REST API, most interfaces have no compatibility issues. Even after upgrading to Jersey 2, the changes to the server's WebService are minimal, usually just adding readers and writers. While there are still a few interfaces that need re-validation, I have a general understanding of the areas that need to be checked. We can work together to complete this task, which must be done before the release of 3.5.0.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 48s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 1s 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 8 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 5m 48s Maven dependency ordering for branch
+1 💚 mvninstall 36m 42s trunk passed
+1 💚 compile 17m 26s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 compile 15m 5s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 checkstyle 4m 37s trunk passed
+1 💚 mvnsite 21m 9s trunk passed
-1 ❌ javadoc 2m 57s /branch-javadoc-root-jdkUbuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04.txt root in trunk failed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04.
+1 💚 javadoc 7m 35s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+0 🆗 spotbugs 0m 19s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 69m 27s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 41s Maven dependency ordering for patch
+1 💚 mvninstall 38m 0s the patch passed
+1 💚 compile 17m 3s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javac 17m 3s the patch passed
+1 💚 compile 15m 2s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 javac 15m 2s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 4m 45s /results-checkstyle-root.txt root: The patch generated 5 new + 2 unchanged - 0 fixed = 7 total (was 2)
+1 💚 mvnsite 20m 10s the patch passed
-1 ❌ javadoc 2m 51s /patch-javadoc-root-jdkUbuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04.txt root in the patch failed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04.
+1 💚 javadoc 7m 36s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+0 🆗 spotbugs 0m 20s hadoop-project has no data from spotbugs
-1 ❌ spotbugs 6m 18s /new-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server.html hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 ❌ spotbugs 0m 50s /new-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-timelineservice-hbase_hadoop-yarn-server-timelineservice-hbase-client.html hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 ❌ spotbugs 32m 7s /new-spotbugs-root.html root generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚 shadedclient 69m 58s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 571m 52s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 1m 27s The patch does not generate ASF License warnings.
957m 17s
Reason Tests
SpotBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server
Possible null pointer dereference of HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:[line 693]
SpotBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client
Possible null pointer dereference of HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:[line 693]
SpotBugs module:root
Possible null pointer dereference of HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:[line 693]
Failed junit tests hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineStorageApps
hadoop.yarn.server.timelineservice.reader.TestTimelineReaderWebServicesHBaseStorage
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/2/artifact/out/Dockerfile
GITHUB PR #7453
Optional Tests dupname asflicense codespell detsecrets compile javac javadoc mvninstall mvnsite unit shadedclient xmllint spotbugs checkstyle
uname Linux 4cfed5fe8839 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 54f79ce
Default Java Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/2/testReport/
Max. process+thread count 3254 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/2/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 31s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 detsecrets 0m 1s 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 9 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 33s Maven dependency ordering for branch
+1 💚 mvninstall 31m 25s trunk passed
+1 💚 compile 15m 26s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 compile 13m 36s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 checkstyle 4m 10s trunk passed
+1 💚 mvnsite 20m 26s trunk passed
+1 💚 javadoc 9m 25s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 7m 40s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+0 🆗 spotbugs 0m 19s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 63m 42s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 43s Maven dependency ordering for patch
+1 💚 mvninstall 33m 8s the patch passed
+1 💚 compile 15m 8s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javac 15m 8s the patch passed
+1 💚 compile 13m 32s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 javac 13m 32s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 4m 5s /results-checkstyle-root.txt root: The patch generated 6 new + 2 unchanged - 0 fixed = 8 total (was 2)
+1 💚 mvnsite 19m 19s the patch passed
+1 💚 javadoc 9m 22s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 7m 32s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+0 🆗 spotbugs 0m 19s hadoop-project has no data from spotbugs
-1 ❌ spotbugs 6m 8s /new-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server.html hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 ❌ spotbugs 0m 51s /new-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-timelineservice-hbase_hadoop-yarn-server-timelineservice-hbase-client.html hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 ❌ spotbugs 30m 50s /new-spotbugs-root.html root generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚 shadedclient 64m 33s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 558m 13s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 1m 32s The patch does not generate ASF License warnings.
925m 54s
Reason Tests
SpotBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server
Possible null pointer dereference of HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:[line 693]
SpotBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client
Possible null pointer dereference of HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:[line 693]
SpotBugs module:root
Possible null pointer dereference of HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:HBaseTimelineWriterImpl.storageMonitor in org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl.serviceStop() Dereferenced at HBaseTimelineWriterImpl.java:[line 693]
Failed junit tests hadoop.yarn.server.timelineservice.storage.TestHBaseTimelineStorageApps
Subsystem Report/Notes
Docker ClientAPI=1.48 ServerAPI=1.48 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/3/artifact/out/Dockerfile
GITHUB PR #7453
Optional Tests dupname asflicense codespell detsecrets compile javac javadoc mvninstall mvnsite unit shadedclient xmllint spotbugs checkstyle
uname Linux 27add850e73a 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 07e1538
Default Java Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/3/testReport/
Max. process+thread count 3148 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/3/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@cnauroth cnauroth left a comment

Choose a reason for hiding this comment

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

@slfan1989 , thank you for the updates. +1 overall from me (pending pre-submit). I think it would be best to leave this open a little while longer though in case the other people you tagged want to provide feedback.

@slfan1989
Copy link
Contributor Author

@slfan1989 , thank you for the updates. +1 overall from me (pending pre-submit). I think it would be best to leave this open a little while longer though in case the other people you tagged want to provide feedback.

@cnauroth Thank you very much for helping to review the code! We will wait for a while to allow other members to review the PR. In the meantime, I will continue working on the JUnit5 upgrade for ResourceManager.

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 31s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 detsecrets 0m 1s 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 10 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 49s Maven dependency ordering for branch
+1 💚 mvninstall 31m 9s trunk passed
+1 💚 compile 15m 32s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 compile 13m 40s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 checkstyle 4m 15s trunk passed
+1 💚 mvnsite 20m 44s trunk passed
+1 💚 javadoc 9m 28s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 7m 33s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+0 🆗 spotbugs 0m 20s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 63m 33s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 45s Maven dependency ordering for patch
+1 💚 mvninstall 33m 0s the patch passed
+1 💚 compile 15m 5s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javac 15m 5s the patch passed
+1 💚 compile 13m 48s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 javac 13m 48s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 4m 12s /results-checkstyle-root.txt root: The patch generated 5 new + 3 unchanged - 0 fixed = 8 total (was 3)
+1 💚 mvnsite 19m 6s the patch passed
+1 💚 javadoc 9m 20s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 7m 33s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+0 🆗 spotbugs 0m 21s hadoop-project has no data from spotbugs
+1 💚 shadedclient 64m 16s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 556m 35s root in the patch passed.
+1 💚 asflicense 1m 32s The patch does not generate ASF License warnings.
924m 43s
Subsystem Report/Notes
Docker ClientAPI=1.48 ServerAPI=1.48 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/4/artifact/out/Dockerfile
GITHUB PR #7453
Optional Tests dupname asflicense codespell detsecrets compile javac javadoc mvninstall mvnsite unit shadedclient xmllint spotbugs checkstyle
uname Linux 35e51b65eb79 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 6049652
Default Java Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/4/testReport/
Max. process+thread count 3149 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/4/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@slfan1989
Copy link
Contributor Author

@steveloughran @ayushtkn @Hexiaoqiao Could you please take a look at this PR? Thank you so much. Apart from the checkstyle issues, we should have completed the main upgrades for this module.
cc: @cnauroth

Copy link
Contributor

@zhtttylz zhtttylz left a comment

Choose a reason for hiding this comment

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

+1,LGTM @slfan1989

… Support Trunk Compilation and Remove compatible hadoop version.
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 19s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+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 10 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 5m 31s Maven dependency ordering for branch
+1 💚 mvninstall 18m 31s trunk passed
+1 💚 compile 8m 16s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 compile 7m 21s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 checkstyle 1m 59s trunk passed
+1 💚 mvnsite 13m 23s trunk passed
+1 💚 javadoc 5m 16s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 51s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+0 🆗 spotbugs 0m 15s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 36m 16s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 31s Maven dependency ordering for patch
+1 💚 mvninstall 19m 8s the patch passed
+1 💚 compile 7m 56s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javac 7m 56s the patch passed
+1 💚 compile 7m 16s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 javac 7m 16s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 1m 53s the patch passed
+1 💚 mvnsite 11m 56s the patch passed
+1 💚 javadoc 5m 9s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 55s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+0 🆗 spotbugs 0m 14s hadoop-project has no data from spotbugs
+1 💚 shadedclient 37m 16s patch has no errors when building and testing our client artifacts.
_ Other Tests _
-1 ❌ unit 491m 20s /patch-unit-root.txt root in the patch passed.
+1 💚 asflicense 0m 57s The patch does not generate ASF License warnings.
706m 2s
Reason Tests
Failed junit tests hadoop.yarn.client.api.impl.TestYarnClient
hadoop.yarn.client.api.impl.TestNMClient
hadoop.yarn.client.api.impl.TestAMRMClientPlacementConstraints
hadoop.yarn.client.api.impl.TestOpportunisticContainerAllocationE2E
hadoop.yarn.client.api.impl.TestAMRMClient
hadoop.yarn.client.api.impl.TestAMRMProxy
hadoop.yarn.server.nodemanager.containermanager.logaggregation.TestLogAggregationService
Subsystem Report/Notes
Docker ClientAPI=1.48 ServerAPI=1.48 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/5/artifact/out/Dockerfile
GITHUB PR #7453
Optional Tests dupname asflicense codespell detsecrets compile javac javadoc mvninstall mvnsite unit shadedclient xmllint spotbugs checkstyle
uname Linux 34b65e1ffa83 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 75fc637
Default Java Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/5/testReport/
Max. process+thread count 3150 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/5/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 32s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 1s 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 10 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 7m 52s Maven dependency ordering for branch
+1 💚 mvninstall 31m 16s trunk passed
+1 💚 compile 15m 35s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 compile 13m 51s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 checkstyle 4m 43s trunk passed
+1 💚 mvnsite 20m 53s trunk passed
+1 💚 javadoc 9m 32s trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 7m 30s trunk passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+0 🆗 spotbugs 0m 20s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 63m 49s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 44s Maven dependency ordering for patch
+1 💚 mvninstall 33m 25s the patch passed
+1 💚 compile 15m 3s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javac 15m 3s the patch passed
+1 💚 compile 13m 53s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+1 💚 javac 13m 53s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 4s the patch passed
+1 💚 mvnsite 18m 36s the patch passed
+1 💚 javadoc 9m 19s the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 7m 32s the patch passed with JDK Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
+0 🆗 spotbugs 0m 20s hadoop-project has no data from spotbugs
+1 💚 shadedclient 64m 21s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 553m 19s root in the patch passed.
+1 💚 asflicense 1m 33s The patch does not generate ASF License warnings.
923m 37s
Subsystem Report/Notes
Docker ClientAPI=1.48 ServerAPI=1.48 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/6/artifact/out/Dockerfile
GITHUB PR #7453
Optional Tests dupname asflicense codespell detsecrets compile javac javadoc mvninstall mvnsite unit shadedclient xmllint spotbugs checkstyle
uname Linux 99764dc43fe6 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 6c24c0c
Default Java Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_442-8u442-b06us1-0ubuntu120.04-b06
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/6/testReport/
Max. process+thread count 4084 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests . U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7453/6/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@slfan1989
Copy link
Contributor Author

@ayushtkn @steveloughran @Hexiaoqiao Could you please help review this PR? Thank you very much! This is a module that must be updated during the JDK 17 upgrade process, and Yetus has already given a +1.

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

Successfully merging this pull request may close these issues.

5 participants