luoyuan3471 commented on code in PR #8914:
URL: https://github.com/apache/hadoop/pull/8914#discussion_r4741048102
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ClientRMService.java:
##########
@@ -926,6 +926,23 @@ public GetApplicationsResponse
getApplications(GetApplicationsRequest request)
}
}
+ if (tags != null && !tags.isEmpty()) {
Review Comment:
Thanks @Hexiaoqiao for the review and helpful suggestion! I've moved both
the name and user filters before the state and time checks, and added
regression tests for early rejection.
--
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]