cnauroth commented on code in PR #7343:
URL: https://github.com/apache/hadoop/pull/7343#discussion_r1938569771
##########
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 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?
--
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]