org.apache.hadoop.hbase.regionserver.compactions
Class ExploringCompactionPolicy

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.compactions.CompactionPolicy
      extended by org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy
          extended by org.apache.hadoop.hbase.regionserver.compactions.ExploringCompactionPolicy

@InterfaceAudience.Private
public class ExploringCompactionPolicy
extends RatioBasedCompactionPolicy

Class to pick which files if any to compact together. This class will search all possibilities for different and if it gets stuck it will choose the smallest set of files to compact.


Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.regionserver.compactions.CompactionPolicy
comConf, storeConfigInfo
 
Constructor Summary
ExploringCompactionPolicy(org.apache.hadoop.conf.Configuration conf, StoreConfigInformation storeConfigInfo)
          Constructor for ExploringCompactionPolicy.
 
Method Summary
 
Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy
getNextMajorCompactTime, isMajorCompaction, needsCompaction, preSelectCompactionForCoprocessor, selectCompaction, throttleCompaction
 
Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.CompactionPolicy
setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExploringCompactionPolicy

public ExploringCompactionPolicy(org.apache.hadoop.conf.Configuration conf,
                                 StoreConfigInformation storeConfigInfo)
Constructor for ExploringCompactionPolicy.

Parameters:
conf - The configuration object
storeConfigInfo - An object to provide info about the store.


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.