use of org.apache.accumulo.core.util.compaction.RunningCompaction in project accumulo by apache.
the class CompactionCoordinator method compactionFailed.
void compactionFailed(Map<ExternalCompactionId, KeyExtent> compactions) {
compactionFinalizer.failCompactions(compactions);
compactions.forEach((k, v) -> {
final RunningCompaction rc = RUNNING.get(k);
if (null != rc) {
RUNNING.remove(k, rc);
COMPLETED.put(k, rc);
} else {
LOG.warn("Compaction failed called by Compactor for {}, but no running compaction for that id.", k);
}
});
}
Aggregations