aajisaka commented on a change in pull request #2490:
URL: https://github.com/apache/hadoop/pull/2490#discussion_r533161628
##########
File path:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/placement/CSMappingPlacementRule.java
##########
@@ -181,6 +181,10 @@ private void setupGroupsForVariableContext(VariableContext
vctx, String user)
return;
}
Set<String> groupsSet = groups.getGroupsSet(user);
+ if (groupsSet.isEmpty()) {
+ LOG.warn("There are no groups for user {}", user);
+ return;
Review comment:
Added it. Thank you @shuzirra
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]