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

Switch to Threaded View
HBase >> mail # user >> Dynamic load of Coprocessors


Copy link to this message
-
Dynamic load of Coprocessors
Hi all,

I can't seem to understand if there is a way to dynamically load
coprocessors ?

The best way I found so far is using the shell:

*alter 'URLS', METHOD => 'table_att',
'coprocessor'=>'|com.infolinks.hbase.coprocessors.HBaseTestRegionObserver||'
*

I leave the path empty because I put the jar in my file path and I don't
use priority or arguments.

After re-enabling I don't see the coprocessor in the webapp. I also tried
re-starting hbase which didn't help as well...

Is there a need to add to the configuration as well ? if so, does it mean
that re-starting HBase is mandatory when adding/removing coprocessors ?

Is there a dynamic load method ? without disable/enable to the table ?

Thanks.