ctubbsii commented on code in PR #5865:
URL: https://github.com/apache/accumulo/pull/5865#discussion_r2370470744
##########
server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java:
##########
@@ -537,7 +569,12 @@ public void execute(final String[] args) {
if (success && opts.addVolumes) {
success = addVolumes(fs, initConfig, serverDirs);
}
- if (!opts.resetSecurity && !opts.addVolumes) {
+ if (success && opts.resourceGroups != null) {
+ try (var zk = new ZooSession(getClass().getSimpleName(), siteConfig)) {
+ success = addResourceGroups(initConfig, opts.resourceGroups);
+ }
Review Comment:
This ZooSession is unused now.
--
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]