Class RSMobFileCleanerChore

java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.mob.RSMobFileCleanerChore
All Implemented Interfaces:
Runnable

@Private public class RSMobFileCleanerChore extends ScheduledChore
The class RSMobFileCleanerChore for running cleaner regularly to remove the obsolete (files which have no active references to) mob files that were referenced from the current RS.
  • Field Details

  • Constructor Details

  • Method Details

    • chore

      protected void chore()
      Description copied from class: ScheduledChore
      The task to execute on each scheduled execution of the Chore
      Specified by:
      chore in class ScheduledChore
    • archiveMobFiles

      public void archiveMobFiles(org.apache.hadoop.conf.Configuration conf, TableName tableName, byte[] family, List<org.apache.hadoop.fs.Path> storeFiles) throws IOException
      Archives the mob files.
      Parameters:
      conf - The current configuration.
      tableName - The table name.
      family - The name of the column family.
      storeFiles - The files to be archived.
      Throws:
      IOException - exception