Package org.apache.hadoop.hbase.master.cleaner
package org.apache.hadoop.hbase.master.cleaner
-
ClassDescriptionBase 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 filesThe thread pool used for scan directoriesGeneral interface for cleaning files from a folder (generally an archive or backup folder).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
HConstants.REPLICATION_BARRIER_FAMILY_STR
family in meta table.This chore, every time it runs, will try to delete snapshots that are expired based on TTL in seconds configured for each SnapshotHFile 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.Deprecated.Since 2.3.0, will be removed in 4.0.0.