z-bb commented on code in PR #4565:
URL: https://github.com/apache/ozone/pull/4565#discussion_r1167463358
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java:
##########
@@ -625,7 +625,12 @@ private OzoneManager(OzoneConfiguration conf,
StartupOption startupOption)
Collection<String> omAdminGroups =
OzoneConfigUtil.getOzoneAdminsGroupsFromConfig(configuration);
LOG.info("OM start with adminUsers: {}", omAdminUsernames);
- omAdmins = new OzoneAdmins(omAdminUsernames, omAdminGroups);
+ // Get super read list
+ Collection<String> omSuperReadUsernames =
+
OzoneConfigUtil.getOzoneSuperReadUserNamesFromConfig(configuration);
+ Collection<String> omSuperReadGroups =
+ OzoneConfigUtil.getOzoneSuperReadGroupsFromConfig(configuration);
+ omAdmins = new OzoneAdmins(omAdminUsernames, omAdminGroups,
omSuperReadUsernames, omSuperReadGroups);
Review Comment:
okey, i will do this, thanks
--
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]