hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: How to Updates coprocessor
Date Sun, 09 Jul 2017 01:40:51 GMT
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 <zhang.yang.dm@gmail.com> 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?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message