HBASE-5485 LogCleaner refers to non-existant SnapshotLogCleaner

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1294799 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-02-28 19:39:33 +00:00
parent 09a8719814
commit 09eaaba6b4
2 changed files with 7 additions and 8 deletions

View File

@ -71,8 +71,7 @@ public class LogCleaner extends Chore {
/*
* Initialize the chain of log cleaners from the configuration. The default
* three LogCleanerDelegates in this chain are: TimeToLiveLogCleaner,
* ReplicationLogCleaner and SnapshotLogCleaner.
* in this chain are: TimeToLiveLogCleaner and ReplicationLogCleaner.
*/
private void initLogCleanersChain() {
String[] logCleaners = conf.getStrings(HBASE_MASTER_LOGCLEANER_PLUGINS);

View File

@ -24,12 +24,12 @@ import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hbase.Stoppable;
/**
* Interface for the log cleaning function inside the master. By default, three
* cleaners <code>TimeToLiveLogCleaner</code>, <code>ReplicationLogCleaner</code>,
* <code>SnapshotLogCleaner</code> are called in order. So if other effects are
* needed, implement your own LogCleanerDelegate and add it to the configuration
* "hbase.master.logcleaner.plugins", which is a comma-separated list of fully
* qualified class names. LogsCleaner will add it to the chain.
* Interface for the log cleaning function inside the master. By default, two
* cleaners: <code>TimeToLiveLogCleaner</code> and
* <code>ReplicationLogCleaner</code> are called in order. So if other
* effects are needed, implement your own LogCleanerDelegate and add it to the
* configuration "hbase.master.logcleaner.plugins", which is a comma-separated
* list of fully qualified class names. LogsCleaner will add it to the chain.
*
* <p>HBase ships with LogsCleaner as the default implementation.
*