public class KillUnusedSegments extends Object implements CoordinatorDuty
retainDuration from now
from the metadata store. This action is called "to kill a segment".
See org.apache.druid.indexing.common.task.KillUnusedSegmentsTask.| Constructor and Description |
|---|
KillUnusedSegments(SegmentsMetadataManager segmentsMetadataManager,
IndexingServiceClient indexingServiceClient,
DruidCoordinatorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
DruidCoordinatorRuntimeParams |
run(DruidCoordinatorRuntimeParams params)
Implementations of this method run various activities performed by the coordinator.
|
@Inject public KillUnusedSegments(SegmentsMetadataManager segmentsMetadataManager, IndexingServiceClient indexingServiceClient, DruidCoordinatorConfig config)
public DruidCoordinatorRuntimeParams run(DruidCoordinatorRuntimeParams params)
CoordinatorDutyrun in interface CoordinatorDutyDruidCoordinator.DutiesRunnable) from running until the next
cycle.Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.