Pls go through http://hbase.apache.org/book/regionserver.arch.html#coprocessors.
Here we have master environment, regionserver environment which will give you access to locate a region of your interest and based on that you can do the operation on that region thro the server itself. Hope this helps. Regards Ram > -----Original Message----- > From: Dishant A [mailto:[email protected]] > Sent: Thursday, June 28, 2012 8:12 PM > To: [email protected] > Subject: Re: Can a server function make a rpc call to the corresponding > client > > Hi Anoop, > > I haven't used co-processor package before but my understanding is > that, it > is the client which calls desired region-servers instead of server > calling > the client. Can you please explain how a server-side function can > call/instantiate co-processor. > > Thanks, > Dishant > > On Thu, Jun 28, 2012 at 12:59 AM, Anoop Sam John <[email protected]> > wrote: > > > Hi > > Can you write your code in a co processor impl? So that server can > call > > your code. CP will run at server side. > > I am not sure whether you must come to the client process itself. > > > > -Anoop- > > ________________________________________ > > From: Dishant A [[email protected]] > > Sent: Thursday, June 28, 2012 6:55 AM > > To: [email protected] > > Subject: Re: Can a server function make a rpc call to the > corresponding > > client > > > > I am working on developing encrypted hbase storage. > > > > The task I am working on currently requires a temporary key from the > client > > to decrypt the value. I cannot pass it during the client to server > RPC as > > it will only be known at the time of processing (on server side) so > as to > > which key is needed. I need to make a RPC to the client to get that > key. > > Can you suggest a way to do it? > > > > > > On Wed, Jun 27, 2012 at 1:44 PM, Jean-Daniel Cryans > <[email protected] > > >wrote: > > > > > You probably don't want to do that. > > > > > > What are you trying to achieve exactly? > > > > > > J-D > > > > > > On Wed, Jun 27, 2012 at 8:46 AM, Dishant A > <[email protected]> > > > wrote: > > > > Hi Everyone, > > > > > > > > I am working on a project that requires some information from the > > client > > > at > > > > runtime. > > > > > > > > So I need to make a RPC to the client with some arguments from a > server > > > > side function (SingleColumnValueFIlter.java). Can anyone please > tell me > > > how > > > > I can do it. > > > > > > > > Thanks, > > > > Dishant > > > > >
