Skip to content

MAPREDUCE-7497. mapreduce tests have stopped running. #7343

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

Merged
merged 3 commits into from
Feb 4, 2025

Conversation

slfan1989
Copy link
Contributor

@slfan1989 slfan1989 commented Feb 1, 2025

Description of PR

JIRA: MAPREDUCE-7497. mapreduce tests have stopped running.

After completing HADOOP-15984, we added JUnit5 dependencies to some modules. These dependencies caused maven-surefire to fail to recognize JUnit4 tests, resulting in the MapReduce module's unit tests stopping. We will track and fix this issue in this JIRA.

How was this patch tested?

Unit Test.

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?

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 50s 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 10s Maven dependency ordering for branch
+1 💚 mvninstall 38m 39s trunk passed
+1 💚 compile 19m 54s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 17m 45s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 4m 40s trunk passed
+1 💚 mvnsite 6m 21s trunk passed
+1 💚 javadoc 5m 55s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 5m 27s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 41s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 39m 23s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 33s Maven dependency ordering for patch
+1 💚 mvninstall 3m 15s the patch passed
+1 💚 compile 18m 38s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 18m 38s the patch passed
+1 💚 compile 17m 19s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 17m 19s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 35s the patch passed
+1 💚 mvnsite 6m 11s the patch passed
+1 💚 javadoc 5m 49s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 5m 32s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 37s hadoop-project has no data from spotbugs
+1 💚 shadedclient 38m 58s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 34s hadoop-project in the patch passed.
+1 💚 unit 1m 12s hadoop-yarn-api in the patch passed.
+1 💚 unit 8m 51s hadoop-mapreduce-client-core in the patch passed.
+1 💚 unit 0m 57s hadoop-mapreduce-client-shuffle in the patch passed.
+1 💚 unit 8m 54s hadoop-mapreduce-client-app in the patch passed.
+1 💚 unit 4m 22s hadoop-mapreduce-client-hs in the patch passed.
+1 💚 unit 126m 27s hadoop-mapreduce-client-jobclient in the patch passed.
+1 💚 unit 11m 12s hadoop-mapreduce-client-nativetask in the patch passed.
+1 💚 asflicense 1m 9s The patch does not generate ASF License warnings.
435m 14s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7343/1/artifact/out/Dockerfile
GITHUB PR #7343
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux 93832fadda53 5.15.0-125-generic #135-Ubuntu SMP Fri Sep 27 13:53:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 2e3f5e6
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7343/1/testReport/
Max. process+thread count 1160 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7343/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.

@@ -185,8 +185,8 @@
--add-opens=java.base/sun.security.x509=ALL-UNNAMED
</extraJavaTestArgs>
<!-- Plugin versions and config -->
<maven-surefire-plugin.argLine>-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError ${extraJavaTestArgs}</maven-surefire-plugin.argLine>
<maven-surefire-plugin.version>3.0.0-M1</maven-surefire-plugin.version>
<maven-surefire-plugin.argLine>-Xmx2048m -Xss2m -XX:+HeapDumpOnOutOfMemoryError ${extraJavaTestArgs}</maven-surefire-plugin.argLine>
Copy link
Contributor

Choose a reason for hiding this comment

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

Does the default stack size not work?

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 change was made because the ResourceManager module in #7335 reported an unable to create new native thread exception. Additionally, the third build result of #7335 appeared abnormal, and I suspected that the issue might be caused by the large number of compiled modules. I increased the -Xss size, which seemed to have some effect. The default value for this parameter is 1m.

The build report is as follows:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7335/3/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt

If either #7343 or #7335 is merged, the other PR can remove this change.

@@ -43,7 +43,12 @@ public ApplicationEntity(TimelineEntity entity) {
}

public String getQueue() {
return getInfo().get(QUEUE_INFO_KEY).toString();
if (getInfo() != null) {
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 an unrelated change?

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 necessary change, and I have provided a detailed explanation of the modification in the comment below.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for the explanation.

Is this potentially a backward-incompatible change? For example, does it mean clients may now be getting back a queue element with an empty string, where previously it was omitted entirely from the response?

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 very much for your comment! I have further refined this part of the code and added the @JsonInclude(JsonInclude.Include.NON_EMPTY) annotation to ensure compatibility of this logic.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From my perspective, we need to continue iterating and improving the YARN Timeline-related code, implementing parsing for both JSON and XML formats in the way Jersey2 does. I hope that after completing the JDK17 support, we can continue advancing these improvements.

@slfan1989
Copy link
Contributor Author

slfan1989 commented Feb 2, 2025

@cnauroth Thank you very much for reviewing this PR! I apologize for not providing a detailed explanation of why we made these changes. Let me explain in detail why we made these modifications.

After upgrading Jersey to version 2.46, we found that Jersey 2 handles requests differently compared to Jersey 1. Overall, it has become stricter.

  • Change 1: TestHsWebServices#testInvalidAccept

This unit test is for the following interface: AMWebServices#get, with the code as follows:

@GET
@Produces({ MediaType.APPLICATION_JSON + "; " + JettyUtils.UTF_8,
MediaType.APPLICATION_XML + "; " + JettyUtils.UTF_8 })
public AppInfo get() {
return getAppInfo();
}

This interface only accepts MediaType.APPLICATION_JSON and MediaType.APPLICATION_XML types, and does not accept MediaType.TEXT_PLAIN. Therefore, if we call it with MediaType.TEXT_PLAIN, a NotAcceptableException will be thrown.

Therefore, we need to improve this unit test.

  • Change 2: TestHsWebServices#testInvalidAccept

TestHsWebServices#testInvalidAccept also requires improvement for reasons similar to Change 1.

  • Change 3: ApplicationEntity#getQueue

ApplicationEntity#getQueue is a necessary change. We made this modification because the unit test was failing previously.

We can see this error at the following link:

patch-unit-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-jobclient.txt

[ERROR] org.apache.hadoop.mapred.TestMRTimelineEventHandling.testMRNewTimelineServiceEventHandling  Time elapsed: 87.424 s  <<< FAILURE!
java.lang.AssertionError: Expected event : JOB_FINISHED not found in the file /home/jenkins/jenkins-home/workspace/hadoop-multibranch_PR-7335/ubuntu-focal/src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/target/TestMRTimelineEventHandling-test_dir/timeline_service_data/entities/yarn_cluster/jenkins/test-job-succeed/1/1738269699937/application_1738269698564_0001/MAPREDUCE_JOB/job_1738269698564_0001.thist
	at org.junit.Assert.fail(Assert.java:89)
.......

This is a subtle error, and it took me a long time to identify the issue. The problem arises from the difference in how Jersey 1 and Jersey 2 handle complex type conversions to JSON. In Jersey 1, we could customize the conversion process, but in Jersey 2, we need to define custom JSON readers and writers. In my case, I defined a TimelineEntitiesWriter.java, which relies on com.fasterxml.jackson.databind.ObjectMapper for the conversion. If the object contains null values, a NullPointerException occurs during the conversion.

Therefore, I have implemented handling for the conversion of this field.

Since it is the timeclient-v2 version, it will eventually reach the putEntities method in TimelineCollectorWebService.

/**
* Accepts writes to the collector, and returns a response. It simply routes
* the request to the app level collector. It expects an application as a
* context.
*
* @param req Servlet request.
* @param res Servlet response.
* @param async flag indicating whether its an async put or not. "true"
* indicates, its an async call. If null, its considered false.
* @param isSubAppEntities subappwrite.
* @param appId Application Id to which the entities to be put belong to. If
* appId is not there or it cannot be parsed, HTTP 400 will be sent back.
* @param entities timeline entities to be put.
* @return a Response with appropriate HTTP status.
*/
@PUT
@Path("/entities")
@Consumes({ MediaType.APPLICATION_JSON /* , MediaType.APPLICATION_XML */})
public Response putEntities(
@Context HttpServletRequest req,
@Context HttpServletResponse res,
@QueryParam("async") String async,
@QueryParam("subappwrite") String isSubAppEntities,
@QueryParam("appid") String appId,
TimelineEntities entities) {
init(res);
UserGroupInformation callerUgi = getUser(req);
boolean isAsync = async != null && async.trim().equalsIgnoreCase("true");
if (callerUgi == null) {
String msg = "The owner of the posted timeline entities is not set";
LOG.error(msg);
throw new ForbiddenException(msg);
}

Inside, there is a complex data type, TimelineEntities, and its parsing relies on the TimelineEntitiesWriter.java class that I wrote.

@Provider
@Consumes(MediaType.APPLICATION_JSON)
public class TimelineEntitiesWriter implements MessageBodyWriter<TimelineEntities> {
private ObjectMapper objectMapper = new ObjectMapper();
@Override
public boolean isWriteable(Class<?> type, Type genericType,
Annotation[] annotations, MediaType mediaType) {
return type == TimelineEntities.class;
}
@Override
public void writeTo(TimelineEntities timelineEntities, Class<?> type, Type genericType,
Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders,
OutputStream entityStream) throws IOException, WebApplicationException {
String entity = objectMapper.writeValueAsString(timelineEntities);
entityStream.write(entity.getBytes(StandardCharsets.UTF_8));
}
@Override
public long getSize(TimelineEntities timelineEntities, Class<?> type,
Type genericType, Annotation[] annotations, MediaType mediaType) {
return -1L;
}
}

This will throw a NullPointerException because the queue is null. Therefore, I implemented error handling in the getQueue method to ensure that it does not throw a NullPointerException.

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.

+1, pending completion of the pre-submit run on the latest changes.

Thank you, @slfan1989 !

@hadoop-yetus
Copy link

🎊 +1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 18m 22s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s 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 8s Maven dependency ordering for branch
+1 💚 mvninstall 36m 1s trunk passed
+1 💚 compile 19m 41s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 18m 53s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 4m 47s trunk passed
+1 💚 mvnsite 6m 12s trunk passed
+1 💚 javadoc 5m 48s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 5m 24s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 41s branch/hadoop-project no spotbugs output file (spotbugsXml.xml)
+1 💚 shadedclient 38m 49s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 33s Maven dependency ordering for patch
+1 💚 mvninstall 3m 12s the patch passed
+1 💚 compile 18m 46s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 18m 46s the patch passed
+1 💚 compile 17m 57s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 17m 57s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 46s the patch passed
+1 💚 mvnsite 6m 9s the patch passed
+1 💚 javadoc 5m 40s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 5m 27s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+0 🆗 spotbugs 0m 36s hadoop-project has no data from spotbugs
+1 💚 shadedclient 38m 26s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 34s hadoop-project in the patch passed.
+1 💚 unit 1m 12s hadoop-yarn-api in the patch passed.
+1 💚 unit 8m 53s hadoop-mapreduce-client-core in the patch passed.
+1 💚 unit 0m 57s hadoop-mapreduce-client-shuffle in the patch passed.
+1 💚 unit 9m 33s hadoop-mapreduce-client-app in the patch passed.
+1 💚 unit 4m 21s hadoop-mapreduce-client-hs in the patch passed.
+1 💚 unit 125m 29s hadoop-mapreduce-client-jobclient in the patch passed.
+1 💚 unit 11m 12s hadoop-mapreduce-client-nativetask in the patch passed.
+1 💚 asflicense 1m 8s The patch does not generate ASF License warnings.
449m 38s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7343/2/artifact/out/Dockerfile
GITHUB PR #7343
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux 2d6722bbf7e8 5.15.0-125-generic #135-Ubuntu SMP Fri Sep 27 13:53:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / a5b718e
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7343/2/testReport/
Max. process+thread count 1161 (vs. ulimit of 5500)
modules C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7343/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 51s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s 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 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 2 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 6m 26s Maven dependency ordering for branch
+1 💚 mvninstall 36m 13s trunk passed
+1 💚 compile 19m 29s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 compile 17m 32s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 checkstyle 4m 42s trunk passed
+1 💚 mvnsite 5m 38s trunk passed
+1 💚 javadoc 5m 13s trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 47s trunk passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 spotbugs 8m 28s trunk passed
+1 💚 shadedclient 39m 7s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 39m 36s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 31s Maven dependency ordering for patch
+1 💚 mvninstall 2m 59s the patch passed
+1 💚 compile 18m 45s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javac 18m 45s the patch passed
+1 💚 compile 17m 30s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 javac 17m 30s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
+1 💚 checkstyle 4m 32s the patch passed
+1 💚 mvnsite 5m 36s the patch passed
+1 💚 javadoc 5m 10s the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04
+1 💚 javadoc 4m 49s the patch passed with JDK Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
+1 💚 spotbugs 9m 48s the patch passed
+1 💚 shadedclient 38m 54s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 1m 13s hadoop-yarn-api in the patch passed.
+1 💚 unit 8m 48s hadoop-mapreduce-client-core in the patch passed.
+1 💚 unit 0m 57s hadoop-mapreduce-client-shuffle in the patch passed.
+1 💚 unit 8m 48s hadoop-mapreduce-client-app in the patch passed.
+1 💚 unit 4m 21s hadoop-mapreduce-client-hs in the patch passed.
+1 💚 unit 126m 38s hadoop-mapreduce-client-jobclient in the patch passed.
+1 💚 unit 11m 12s hadoop-mapreduce-client-nativetask in the patch passed.
+1 💚 asflicense 1m 8s The patch does not generate ASF License warnings.
425m 59s
Subsystem Report/Notes
Docker ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7343/3/artifact/out/Dockerfile
GITHUB PR #7343
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle
uname Linux 2802ed0f7e5f 5.15.0-125-generic #135-Ubuntu SMP Fri Sep 27 13:53:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 4cc7418
Default Java Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-gaus1-0ubuntu220.04-ga
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7343/3/testReport/
Max. process+thread count 1135 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7343/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.

@slfan1989
Copy link
Contributor Author

@cnauroth Thank you very much for reviewing the code! I will merge this PR into the trunk branch to begin the upgrade of the MapReduce module from JUnit4 to JUnit5. Yetus feedback indicates that this PR meets the merge requirements.

@slfan1989 slfan1989 merged commit 950b3eb into apache:trunk Feb 4, 2025
4 checks passed
YanivKunda pushed a commit to YanivKunda/hadoop that referenced this pull request Mar 23, 2025
Co-authored-by: Chris Nauroth <cnauroth@apache.org>
Reviewed-by: Chris Nauroth <cnauroth@apache.org>
Signed-off-by: Shilun Fan <slfan1989@apache.org>
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.

3 participants