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.
|CleanerChore<T extends FileCleanerDelegate>||
Abstract Cleaner that uses a chain of delegates to clean a directory of files
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 in the old logs folder.
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.
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.