> is there any way to check which Coprocessors Classes are
> currently loaded? Preferebly using the shell...

Not yet. Good idea, filed: https://issues.apache.org/jira/browse/HBASE-3512

> And related: Can one dynamically load Coprocessors for a
> running hbase system?

Currently coprocessors are loaded statically via configuration or dynamically 
upon table open if there are any table attributes that specify it (attribute 
name begins with "Coprocessor"). IIRC the javadoc on the coprocessors package 
contains detail on this. In short:

    HTableDescriptor htd;
    // ...
    htd.setValue("Coprocessor$foo", 
"hdfs://namenode:port/path/to/coprocessor.jar");

A table descriptor can be updated if such specifications are not made a table 
create time. See javadoc for HBaseAdmin. 

However there is currently no mechanism for triggering additional loads on 
tables already open or loading at arbitrary times. There hasn't been a clearly 
articulated need for this yet.

Best regards,

    - Andy

Problems worthy of attack prove their worth by hitting back. 
  - Piet Hein (via Tom White)


--- On Mon, 2/7/11, [email protected] <[email protected]> wrote:

> From: [email protected] <[email protected]>
> Subject: Loaded Coprocessor
> To: [email protected]
> Date: Monday, February 7, 2011, 1:48 AM
> 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
> 



Reply via email to