Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Setting ClassLoader in HBaseConfiguration

Copy link to this message
Setting ClassLoader in HBaseConfiguration
Hi all,

I'm trying to run an HBase client from an OSGI environment and for that I
need to set the Configuration classLoader.
In Configuration (Hadoop) itself, there is a method for that but since
HBaseConfiguration.create() is static the only solution I found was:
before calling HBaseConfiguration.create() .

Should there be HBaseConfiguration.create(ClassLoader classLoader) ?