-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.94.6
-
Component/s: Replication
-
Labels:None
We try to register ReplicationLogCleaner by default. This is done by calling Replication.decorateMasterConfiguration()in the master.
In the current Replication.decorateMasterConfiguration():
...
String plugins = conf.get(HBASE_MASTER_LOGCLEANER_PLUGINS);
if (!plugins.contains(ReplicationLogCleaner.class.toString()))
...
ReplicationLogCleaner.class.toString() will return prefix 'class' to the full class name, which will make the if checking mostly useless.