General interface for cleaning files from a folder (generally an archive or backup folder).
Base class for file cleaners which allows subclasses to implement a simple isFileDeletable method (which used to be the FileCleanerDelegate contract).
Base class for the hfile cleaning function inside the master.
Base class for the log cleaning function inside the master.
Base class for time to live file cleaner.
|CleanerChore<T extends FileCleanerDelegate>||
Abstract Cleaner that uses a chain of delegates to clean a directory of files
The thread pool used for scan directories
This Chore, every time it runs, will clear the HFiles in the hfile archive folder that are deletable for each HFile cleaner in the chain.
HFileLink cleaner that determines if a hfile should be deleted.
This Chore, every time it runs, will attempt to delete the WALs and Procedure WALs in the old logs folder.
Used to clean the useless barriers in
This chore, every time it runs, will try to delete snapshots that are expired based on TTL in seconds configured for each Snapshot
HFile cleaner that uses the timestamp of the hfile to determine if it should be deleted.
Log cleaner that uses the timestamp of the wal to determine if it should be deleted.
Master local storage HFile cleaner that uses the timestamp of the HFile to determine if it should be deleted.
Master local storage WAL cleaner that uses the timestamp of the WAL file to determine if it should be deleted.
Since 2.3.0, will be removed in 4.0.0.
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.