Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6ADAED77C for ; Mon, 20 May 2013 12:29:25 +0000 (UTC) Received: (qmail 74276 invoked by uid 500); 20 May 2013 12:29:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 74001 invoked by uid 500); 20 May 2013 12:29:24 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 73421 invoked by uid 99); 20 May 2013 12:29:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 May 2013 12:29:23 +0000 Date: Mon, 20 May 2013 12:29:23 +0000 (UTC) From: "Anoop Sam John (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-8471) Server-side, remove convertion from pb type to client type before we call method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-8471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anoop Sam John updated HBASE-8471: ---------------------------------- Affects Version/s: 0.95.0 Status: Patch Available (was: Open) > Server-side, remove convertion from pb type to client type before we call method > -------------------------------------------------------------------------------- > > Key: HBASE-8471 > URL: https://issues.apache.org/jira/browse/HBASE-8471 > Project: HBase > Issue Type: Improvement > Components: IPC/RPC, regionserver > Affects Versions: 0.95.0 > Reporter: stack > Assignee: Anoop Sam John > Priority: Critical > Attachments: HBASE-8471.patch > > > In the regionserver, when the rpc receives a call, the call is described using protobufs. Before we make the server-side invocation, we do a transform on the pb param objects to make a native pojo -- e.g. from a pb Puts into an hbase o.a.h.h.client.Put -- and only then do we make the call against the server. > On the way out, similar, before putting the result on the wire, we will do a convertion from o.a.h.h.client.Result into pb Result. > This issue is about our first INVESTIGATING if it is possible to do away w/ this marshalling/unmarshalling serverside especially given the pb objects themselves are rich in accessor and getters, etc. If it is possible to do w/ pbs alone serverside, then we should go ahead and rip out all the serverside convertions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira