xiaoyuyao commented on a change in pull request #2085:
URL: https://github.com/apache/hadoop/pull/2085#discussion_r445128418
##########
File path:
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/NullGroupsMapping.java
##########
@@ -31,6 +33,19 @@
public void cacheGroupsAdd(List<String> groups) {
}
+ /**
+ * Get all various group memberships of a given user.
+ * Returns EMPTY set in case of non-existing user
+ *
+ * @param user User's name
+ * @return set of group memberships of user
+ * @throws IOException
+ */
+ @Override
+ public Set<String> getGroupsSet(String user) throws IOException {
+ return null;
Review comment:
Fixed.
----------------------------------------------------------------
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]