dlmarion commented on a change in pull request #2318:
URL: https://github.com/apache/accumulo/pull/2318#discussion_r739188363
##########
File path:
core/src/main/java/org/apache/accumulo/core/clientImpl/InstanceOperationsImpl.java
##########
@@ -228,15 +228,17 @@ public boolean testClassLoad(final String className,
final String asTypeName)
futures.add(executorService.submit(() ->
getActiveCompactions(tserver)));
}
- for (HostAndPort compactorAddr : compactors) {
- Callable<List<ActiveCompaction>> task =
- () -> ExternalCompactionUtil.getActiveCompaction(compactorAddr,
context).stream()
- .map(tac -> new ActiveCompactionImpl(context, tac,
compactorAddr,
- CompactionHost.Type.COMPACTOR))
- .collect(toList());
+ compactors.forEach((queue, compactorList) -> {
+ for (HostAndPort compactorAddr : compactorList) {
Review comment:
Addressed in ee94df3ae1a5396a0d13d11e11134b2d7f9ba1fd
--
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]