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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]