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:
parent
09a8719814
commit
09eaaba6b4
@ -71,8 +71,7 @@ public class LogCleaner extends Chore {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize the chain of log cleaners from the configuration. The default
|
* Initialize the chain of log cleaners from the configuration. The default
|
||||||
* three LogCleanerDelegates in this chain are: TimeToLiveLogCleaner,
|
* in this chain are: TimeToLiveLogCleaner and ReplicationLogCleaner.
|
||||||
* ReplicationLogCleaner and SnapshotLogCleaner.
|
|
||||||
*/
|
*/
|
||||||
private void initLogCleanersChain() {
|
private void initLogCleanersChain() {
|
||||||
String[] logCleaners = conf.getStrings(HBASE_MASTER_LOGCLEANER_PLUGINS);
|
String[] logCleaners = conf.getStrings(HBASE_MASTER_LOGCLEANER_PLUGINS);
|
||||||
|
@ -24,12 +24,12 @@ import org.apache.hadoop.fs.Path;
|
|||||||
import org.apache.hadoop.hbase.Stoppable;
|
import org.apache.hadoop.hbase.Stoppable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface for the log cleaning function inside the master. By default, three
|
* Interface for the log cleaning function inside the master. By default, two
|
||||||
* cleaners <code>TimeToLiveLogCleaner</code>, <code>ReplicationLogCleaner</code>,
|
* cleaners: <code>TimeToLiveLogCleaner</code> and
|
||||||
* <code>SnapshotLogCleaner</code> are called in order. So if other effects are
|
* <code>ReplicationLogCleaner</code> are called in order. So if other
|
||||||
* needed, implement your own LogCleanerDelegate and add it to the configuration
|
* effects are needed, implement your own LogCleanerDelegate and add it to the
|
||||||
* "hbase.master.logcleaner.plugins", which is a comma-separated list of fully
|
* configuration "hbase.master.logcleaner.plugins", which is a comma-separated
|
||||||
* qualified class names. LogsCleaner will add it to the chain.
|
* list of fully qualified class names. LogsCleaner will add it to the chain.
|
||||||
*
|
*
|
||||||
* <p>HBase ships with LogsCleaner as the default implementation.
|
* <p>HBase ships with LogsCleaner as the default implementation.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user