[ https://issues.apache.org/jira/browse/MAPREDUCE-7497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923294#comment-17923294 ]
ASF GitHub Bot commented on MAPREDUCE-7497: ------------------------------------------- slfan1989 commented on code in PR #7343: URL: https://github.com/apache/hadoop/pull/7343#discussion_r1939403982 ########## 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: 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. > 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: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org