Dynamically loading a custom filter

Cloudera Runtime by default has the ability to dynamically load a custom filter.

It adds a JAR with your filter to the directory specified by the hbase.dynamic.jars.dir property (which defaults to the lib/ directory under the HBase root directory).

Go to Cloudera Manager and configure hbase.use.dynamic.jars property accordingly in the advanced configuration snippet for hbase-site.xml or to hbase-site.xml otherwise.

  • To disable automatic loading of dynamic JARs, set hbase.use.dynamic.jars to false.
  • To use any dynamic JARs, for example, custom filters or UDFs, set hbase.use.dynamic.jars to true.