Hi JS.
> is there any way to check which Coprocessors Classes are currently
loaded? Preferebly using the shell...
No. Not yet. But that's a reasonable requirement. You can open a jira
for it. Right now you have to check HTableDescriptor (for table
coprocessors) or configurations (for system-wide cp) to see loaded
coprocessors.
> And related: Can one dynamically load Coprocessors for a running
hbase system?
Yes, and no. You can dynamically load a table-based coprocessor: 1)
disable a table; 2) set an HTableDecriptor property; 3) enable the
table. Please read ``Load from table attribute'' section of
http://hbaseblog.com/2010/11/30/hbase-coprocessors/. But for system cp,
you cannot do it right now.
It's absolutely doable to have an easier way to dynamically load/unload
coprocessor. But it might relate to security issue: you don't want
anyone from your cluster to easily load/unload a customized cp without
any limitation.
There is still rooms to improve coprocessor loading/unloading mechanism.
It will depend on how users want to use it. Welcome to provide your
feedback and contribution.
-Mingjie
On 02/07/2011 01:48 AM, [email protected] wrote:
Hi,
is there any way to check which Coprocessors Classes are currently loaded?
Preferebly using the shell...
And related: Can one dynamically load Coprocessors for a running hbase system?
Thanks for your support!
JS