Class ReconcileContainerTask
java.lang.Object
org.apache.hadoop.ozone.container.replication.AbstractReplicationTask
org.apache.hadoop.ozone.container.checksum.ReconcileContainerTask
Used to execute a container reconciliation task that has been queued from the ReplicationSupervisor.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.ozone.container.replication.AbstractReplicationTask
AbstractReplicationTask.Status -
Constructor Summary
ConstructorsConstructorDescriptionReconcileContainerTask(ContainerController controller, DNContainerOperationClient dnClient, ReconcileContainerCommand command) -
Method Summary
Methods inherited from class org.apache.hadoop.ozone.container.replication.AbstractReplicationTask
getContainerId, getDeadline, getPriority, getQueued, getStatus, getTerm, setPriority, setShouldOnlyRunOnInServiceDatanodes, setStatus, shouldOnlyRunOnInServiceDatanodes, toString
-
Constructor Details
-
ReconcileContainerTask
public ReconcileContainerTask(ContainerController controller, DNContainerOperationClient dnClient, ReconcileContainerCommand command)
-
-
Method Details
-
runTask
public void runTask()Description copied from class:AbstractReplicationTaskAbstract method which needs to be overridden by the sub classes to execute the task.- Specified by:
runTaskin classAbstractReplicationTask
-
getCommandForDebug
Description copied from class:AbstractReplicationTaskHook for subclasses to provide info about the command.- Overrides:
getCommandForDebugin classAbstractReplicationTask- Returns:
- string representation of the command
-
getMetricName
- Specified by:
getMetricNamein classAbstractReplicationTask
-
getMetricDescriptionSegment
- Specified by:
getMetricDescriptionSegmentin classAbstractReplicationTask
-
equals
-
hashCode
public int hashCode()
-