hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kim Chew <kchew...@gmail.com>
Subject Re: Some regions keep using an older version of coprocessor.
Date Thu, 25 Jul 2013 00:01:12 GMT
Sorry, I forgot to add that each region is located in a different RS.


On Wed, Jul 24, 2013 at 4:57 PM, Kim Chew <kchew534@gmail.com> wrote:

> Hello there,
>
> I have an Endpoint CP which I deployed by changing the table schema using
> the 'alter' command in hbase shell. I stored my CP in hdfs. My table has 4
> regions, say,
>
> region-1
> region-2
> region-3
> region-4
>
> Before I deployed a new CP, I use this command to remove the old CP (Do I
> have to do that?)
>      disable 'mytable'
>      alter 'mytable', METHOD => 'table_att_unset', NAME => 'coprocessor$1'
>      enable 'mytable'
>
>
> I found out that while region-1 and region-2 runs the new version of CP,
> however region-3 and region-4 keeps using the older version. Shouldn't
> re-enabling a table restart the regions thus reload the CPs ? Why does each
> region behave differently?
>
> Thanks.
>
> Kim
>

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