Hexiaoqiao commented on code in PR #8914:
URL: https://github.com/apache/hadoop/pull/8914#discussion_r4737951188


##########
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:
   @luoyuan3471  Thanks involve me here. +1 from my side. For this PR, support 
to check the condition from lightweight to highweight. Based on this rule the 
name check line966~967 also need to move to first few checks. Another side, I 
don't bench and verify if this change will improve the performance explicitly. 
Thanks again.



-- 
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]

Reply via email to