[
https://issues.apache.org/jira/browse/MAPREDUCE-7497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923005#comment-17923005
]
ASF GitHub Bot commented on MAPREDUCE-7497:
-------------------------------------------
slfan1989 commented on code in PR #7343:
URL: https://github.com/apache/hadoop/pull/7343#discussion_r1938373957
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/timelineservice/ApplicationEntity.java:
##########
@@ -43,7 +43,12 @@ public ApplicationEntity(TimelineEntity entity) {
}
public String getQueue() {
- return getInfo().get(QUEUE_INFO_KEY).toString();
+ if (getInfo() != null) {
Review Comment:
This is a necessary change, and I have provided a detailed explanation of
the modification in the comment below.
> mapreduce tests have stopped running.
> -------------------------------------
>
> Key: MAPREDUCE-7497
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7497
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mapreduce-client
> Affects Versions: 3.5.0
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]