What about the following code ?
cleaners = conf.getStrings(HConstants.HBASE_MASTER_LOGCLEANER_PLUGINS);
./hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotManager.java
Should default be provided there as well ?
On Thu, Oct 24, 2013 at 12:53 PM, Jean-Marc Spaggiari <
[email protected]> wrote:
> Exact. But if anyone change that, typo, or anything, we will fail. So a
> simple fix can avoid that. I'm not saying it's 100% required, but it's a
> nice safety valve?
>
>
> 2013/10/24 Ted Yu <[email protected]>
>
> > In hbase-common/src/main/resources/hbase-default.xml, we already have:
> >
> > <property>
> > <name>hbase.master.logcleaner.plugins</name>
> >
> >
> <value>org.apache.hadoop.hbase.master.cleaner.TimeToLiveLogCleaner</value>
> > If downstream project propagates default HBase configuration resources
> > correctly, the change shouldn't be needed, right ?
> >
> >
> > On Thu, Oct 24, 2013 at 12:40 PM, Jean-Marc Spaggiari <
> > [email protected]> wrote:
> >
> > > Small and simple. Do we want it? Or not really good to have this
> > hardcode?
> > >
> > > Another option is to exit if plugins is empty...
> > >
> >
>