Hi
To your prePut() method you are getting an ObserverContext argument. From
this you can easily get a ref to the current region.
ctx.getEnvironment().getRegion()
Directly make calls to this region object. Creation of the HTable instance and
making a get() will be too much unwanted overhead.
But is it possible that the previous value for this row to be stored
in another region?
I mean, if cells are big, they might be on different regions / regionservers?
2012/10/10, Anoop Sam John :
> Hi
> To your prePut() method you are getting an ObserverContext argument.
> From this you can ea
rg
> Subject: Re: connect to the region from coprocessor
>
> But is it possible that the previous value for this row to be stored
> in another region?
>
> I mean, if cells are big, they might be on different regions /
> regionservers?
>
> 2012/10/10, Anoop Sam John :
n-m...@spaggiari.org]
Sent: Wednesday, October 10, 2012 5:24 PM
To: user@hbase.apache.org
Subject: Re: connect to the region from coprocessor
But is it possible that the previous value for this row to be stored
in another region?
I mean, if cells are big, they might be on different regions / regionservers?
2
Thank you Anoop and that is a very helpful suggestion.
Best Regards,
Wei
From: Anoop Sam John
To: "user@hbase.apache.org" ,
"hbase-u...@hadoop.apache.org" ,
Date: 10/10/2012 05:22 AM
Subject: RE: connect to the region from coprocessor
Hi
To your