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 D66FC10F31 for ; Wed, 18 Sep 2013 18:40:00 +0000 (UTC) Received: (qmail 37683 invoked by uid 500); 18 Sep 2013 18:39:56 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 37580 invoked by uid 500); 18 Sep 2013 18:39:54 -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 37557 invoked by uid 99); 18 Sep 2013 18:39:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 18:39:53 +0000 Date: Wed, 18 Sep 2013 18:39:53 +0000 (UTC) From: "Jesse Yates (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9534) Short-Circuit Coprocessor HTable access when on the same server 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-9534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse Yates updated HBASE-9534: ------------------------------- Attachment: hbase-9534-0.94-v2.patch Attaching updated 0.94-Lars patch which was got committed. > Short-Circuit Coprocessor HTable access when on the same server > --------------------------------------------------------------- > > Key: HBASE-9534 > URL: https://issues.apache.org/jira/browse/HBASE-9534 > Project: HBase > Issue Type: Bug > Reporter: Jesse Yates > Assignee: Jesse Yates > Labels: coprocessors, performance, regionserver > Fix For: 0.98.0, 0.94.12, 0.96.1 > > Attachments: 9534-0.94.txt, 9534-trunk.txt, hbase-9534-0.94-v0.patch, hbase-9534-0.94-v1.patch, hbase-9534-0.94-v2.patch, hbase-9534-trunk-v0.patch, hbase-9534-trunk-v1.patch, hbase-9534-trunk-v2.patch > > > Coprocessors currently create a full HTable when they want to write. However, we know that coprocessors must run from within an HBase server (either master or RS). For the master, its rare that we are going to be doing performance sensitive operations, but RS calls could be very time-intensive. > Therefore, we should be able to tell when a call from a CP attempts to talk to the RS on which it lives and just short-circuit to calling that RS, rather than going the long way around (which does the full marshalling/unmarshalling of data, as well as going over the loopback interface). -- 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