You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by "Mesika, Asaf" <am...@akamai.com> on 2013/01/31 20:10:38 UTC

Coprocessor HDFS jar hot deployment

Hi,

If I deploy a Region Observer to a table using HDFS Jar, is it possible to deploy a new version, enable/disable the table to get that new jar hot deployed, without restarting all the region servers?

Asaf Mesika
Senior Developer / CSI Infrastructure Team 



Office: +972 (73) 285-8769
Fax: +972 (9) 8658733
Mobile: +972 (54) 634 7879
Akamai Technologies
Inter Gama Building, Grand Neter 
Kfar Neter, ISRAEL 4059300








Re: Coprocessor HDFS jar hot deployment

Posted by Wei Tan <wt...@us.ibm.com>.
Thanks. I may try this approach later.
Now I am using a remote cluster to test and I have this workaround:

mvn install and skip test
copy the cp to the remote cluster
mvn install with test

I doubt if it is a good approach but it works.


Best Regards,
Wei




From:   Adrien Mogenet <ad...@gmail.com>
To:     user@hbase.apache.org, 
Date:   01/31/2013 03:25 PM
Subject:        Re: Coprocessor HDFS jar hot deployment



Yes of course ; CP is instantiated (and start() method is then called) 
when
the region is starting. When disabling/enabling the table it will force 
all
regions to be re-opened.


On Thu, Jan 31, 2013 at 8:10 PM, Mesika, Asaf <am...@akamai.com> wrote:

> Hi,
>
> If I deploy a Region Observer to a table using HDFS Jar, is it possible 
to
> deploy a new version, enable/disable the table to get that new jar hot
> deployed, without restarting all the region servers?
>
>  Asaf Mesika
>  Senior Developer / CSI Infrastructure Team
>
>  *Office:* +972 (73) 285-8769
> *Fax:* +972 (9) 8658733
> *Mobile:* +972 (54) 634 7879
> Akamai Technologies
> Inter Gama Building, Grand Neter
> Kfar Neter, ISRAEL 4059300
>
>
>
>
>
>
>


-- 
Adrien Mogenet
06.59.16.64.22
http://www.mogenet.me


Re: Coprocessor HDFS jar hot deployment

Posted by Adrien Mogenet <ad...@gmail.com>.
Yes of course ; CP is instantiated (and start() method is then called) when
the region is starting. When disabling/enabling the table it will force all
regions to be re-opened.


On Thu, Jan 31, 2013 at 8:10 PM, Mesika, Asaf <am...@akamai.com> wrote:

> Hi,
>
> If I deploy a Region Observer to a table using HDFS Jar, is it possible to
> deploy a new version, enable/disable the table to get that new jar hot
> deployed, without restarting all the region servers?
>
>  Asaf Mesika
>  Senior Developer / CSI Infrastructure Team
>
>  *Office:* +972 (73) 285-8769
> *Fax:* +972 (9) 8658733
> *Mobile:* +972 (54) 634 7879
> Akamai Technologies
> Inter Gama Building, Grand Neter
> Kfar Neter, ISRAEL 4059300
>
>
>
>
>
>
>


-- 
Adrien Mogenet
06.59.16.64.22
http://www.mogenet.me