Class BackgroundContainerMetadataScanner
java.lang.Object
org.apache.hadoop.ozone.container.ozoneimpl.AbstractBackgroundContainerScanner
org.apache.hadoop.ozone.container.ozoneimpl.BackgroundContainerMetadataScanner
- All Implemented Interfaces:
Runnable
This class is responsible to perform metadata verification of the
containers.
Only one thread will be responsible for scanning all volumes.
-
Constructor Summary
ConstructorsConstructorDescriptionBackgroundContainerMetadataScanner(ContainerScannerConfiguration conf, ContainerController controller) -
Method Summary
Methods inherited from class org.apache.hadoop.ozone.container.ozoneimpl.AbstractBackgroundContainerScanner
handleRemainingSleep, isAlive, pause, run, runIteration, shutdown, start, unpause
-
Constructor Details
-
BackgroundContainerMetadataScanner
public BackgroundContainerMetadataScanner(ContainerScannerConfiguration conf, ContainerController controller)
-
-
Method Details
-
getContainerIterator
- Specified by:
getContainerIteratorin classAbstractBackgroundContainerScanner
-
scanContainer
- Specified by:
scanContainerin classAbstractBackgroundContainerScanner- Throws:
IOExceptionInterruptedException
-
getMetrics
- Specified by:
getMetricsin classAbstractBackgroundContainerScanner
-