You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2020/12/01 08:45:08 UTC

[GitHub] [hadoop] aajisaka commented on a change in pull request #2490: YARN-10499. TestRouterWebServiceREST fails

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org