Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 449D1CB70 for ; Thu, 28 Jun 2012 15:03:25 +0000 (UTC) Received: (qmail 409 invoked by uid 500); 28 Jun 2012 15:03:24 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 189 invoked by uid 500); 28 Jun 2012 15:03:24 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 180 invoked by uid 99); 28 Jun 2012 15:03:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 15:03:24 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ramkrishna.vasudevan@huawei.com designates 119.145.14.64 as permitted sender) Received: from [119.145.14.64] (HELO szxga01-in.huawei.com) (119.145.14.64) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 15:03:19 +0000 Received: from 172.24.2.119 (EHLO szxeml209-edg.china.huawei.com) ([172.24.2.119]) by szxrg01-dlp.huawei.com (MOS 4.1.9-GA FastPath queued) with ESMTP id AKT54221; Thu, 28 Jun 2012 23:02:45 +0800 (CST) Received: from SZXEML416-HUB.china.huawei.com (10.82.67.155) by szxeml209-edg.china.huawei.com (172.24.2.184) with Microsoft SMTP Server (TLS) id 14.1.323.3; Thu, 28 Jun 2012 23:01:01 +0800 Received: from blrprnc05ns (10.18.96.94) by szxeml416-hub.china.huawei.com (10.82.67.155) with Microsoft SMTP Server id 14.1.323.3; Thu, 28 Jun 2012 23:00:59 +0800 From: "Ramkrishna.S.Vasudevan" To: References: <0CE69E9126D0344088798A3B7F7F808631138194@szxeml531-mbx.china.huawei.com> In-Reply-To: Subject: RE: Can a server function make a rpc call to the corresponding client Date: Thu, 28 Jun 2012 20:30:58 +0530 Message-ID: <001201cd553e$d3b10720$7b131560$@vasudevan@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac1VPGaEt9sZsPqHR/aa0txykyCmbAAAK1mw Content-Language: en-us X-Originating-IP: [10.18.96.94] X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org 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 > 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 > > >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 > > > > 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 > > > > >