hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: Loaded Coprocessor
Date Mon, 07 Feb 2011 22:42:35 GMT
> 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, js_84@email.de <js_84@email.de> wrote:

> From: js_84@email.de <js_84@email.de>
> Subject: Loaded Coprocessor
> To: dev@hbase.apache.org
> 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
> 


      

Mime
View raw message