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