Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.94.6
-
None
Description
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.