hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramkrishna.S.Vasudevan" <ramkrishna.vasude...@huawei.com>
Subject RE: Can a server function make a rpc call to the corresponding client
Date Thu, 28 Jun 2012 15:00:58 GMT
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:hbase.project@gmail.com]
> Sent: Thursday, June 28, 2012 8:12 PM
> To: dev@hbase.apache.org
> 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 <anoopsj@huawei.com>
> 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 [hbase.project@gmail.com]
> > Sent: Thursday, June 28, 2012 6:55 AM
> > To: dev@hbase.apache.org
> > 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
> <jdcryans@apache.org
> > >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
> <hbase.project@gmail.com>
> > > 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
> > >
> >


Mime
View raw message