Have you read http://hbase.apache.org/book.html#load_coprocessor_in_shell ?

table_att_unset should be used in the alter command.

The last command should be:

enable 'mytable'

When the regions of mytable reopen, they should load updated coprocessor.

On Sat, Jul 8, 2017 at 6:35 PM, Yang Zhang <[email protected]> wrote:

> When I develop my program with  coprocessor. I upload and dynamic install
> my coprocessor.
> But when I want to do update my coprocessor, I do these thing below:
>
> > disable 'mytable'
> > METHOD => 'table_att_unset',NAME => 'coprocessor$1'
> > alter 'mytable',METHOD=>'table_att','coprocessor'=>'hdfs:///
> GISdoop.jar|site.luoyu.MyFirstCop|1001'
> > enable 'Coprocessor'
>
> Will this unload The class from Classloader and load my new class right
> way?
>

Reply via email to