Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 5561 invoked from network); 3 Jun 2010 06:08:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 06:08:35 -0000 Received: (qmail 15244 invoked by uid 500); 3 Jun 2010 06:08:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 15202 invoked by uid 500); 3 Jun 2010 06:08:34 -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 15194 invoked by uid 99); 3 Jun 2010 06:08:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 06:08:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 06:08:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o53689v0019978 for ; Thu, 3 Jun 2010 06:08:10 GMT Message-ID: <30991089.152941275545289970.JavaMail.jira@thor> Date: Thu, 3 Jun 2010 02:08:09 -0400 (EDT) From: "HBase Review Board (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-2001) Coprocessors: Colocate user code with regions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874971#action_12874971 ] HBase Review Board commented on HBASE-2001: ------------------------------------------- Message from: stack@duboce.net bq. On 2010-06-02 17:24:34, Todd Lipcon wrote: bq. > this seems like a reasonable framework, but I'd rather see this stay around as a branch until there is at least one or two actual things using it for a real purpose. Otherwise I think we'll end up shipping an API that we later realize doesn't work for real apps. What do you think? This seems like a good idea when dev'ing an Interface. After the 3rd implemenation you'll have some confidence in your Interface. - stack ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://review.hbase.org/r/96/#review121 ----------------------------------------------------------- > Coprocessors: Colocate user code with regions > --------------------------------------------- > > Key: HBASE-2001 > URL: https://issues.apache.org/jira/browse/HBASE-2001 > Project: HBase > Issue Type: Sub-task > Reporter: Andrew Purtell > Assignee: Andrew Purtell > Attachments: asm-3.2-bin.zip, asm-transformations.pdf, HBASE-2001-RegionObserver.patch, HBASE-2001.patch.gz > > > Support user code that runs run next to each region in table. As regions split and move, coprocessor code should automatically move also. > Use classloader which looks on HDFS. > Associate a list of classes to load with each table. Put this in HRI so it inherits from table but can be changed on a per region basis (so then those region specific changes can inherited by daughters). > Not completely arbitrary code, should require implementation of an interface with callbacks for: > * Open > * Close > * Split > * Compact > * (Multi)get and scanner next() > * (Multi)put > * (Multi)delete > Add method to HRegionInterface for invoking coprocessor methods and retrieving results. > Add methods in o.a.h.h.regionserver or subpackage which implement convenience functions for coprocessor methods and consistent/controlled access to internals: store access, threading, persistent and ephemeral state, scratch storage, etc. > GitHub: http://github.com/apurtell/hbase-coprocessor -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.