ddanielr commented on code in PR #5321:
URL: https://github.com/apache/accumulo/pull/5321#discussion_r1962299257
##########
server/base/src/main/java/org/apache/accumulo/server/util/ZooZap.java:
##########
@@ -136,21 +135,12 @@ public void zap(SiteConfiguration siteConf, String...
args) {
try {
Set<ServiceLockPath> tserverLockPaths =
context.getServerPaths().getTabletServer(rgp,
AddressSelector.all(), false);
Review Comment:
We could do something like the following to support a host filter:
```
AddressSelector hostLimiter;
if (!opts.hostname.isEmpty()) {
hostLimiter = AddressSelector.matching(hp ->
hp.startsWith(opts.hostname));
} else {
hostLimiter = AddressSelector.all();
}
```
--
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]