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 7EA8C11449 for ; Fri, 16 May 2014 14:30:05 +0000 (UTC) Received: (qmail 192 invoked by uid 500); 16 May 2014 11:40:30 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 33664 invoked by uid 500); 16 May 2014 11:28:23 -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 53967 invoked by uid 99); 16 May 2014 11:17:25 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 11:17:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jtaylor@salesforce.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 01:47:52 +0000 Received: by mail-qc0-f169.google.com with SMTP id e16so3314187qcx.0 for ; Thu, 15 May 2014 18:47:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=QDeJKnXs7fz5MlHWLEkkB7Xpv+4ge6X8qJZwc+j3g4w=; b=hlNTR7Mc3+iw0HtMCK+c+o1u+PDViOcs1XGyiJ7NMnvP+UxS+Reo+Fds0DjEgGI+cQ 0HhmSdhFX0ObNFtci1GSbs6BQOpSYfAoZFjyWYZyGeF2dvvbGZWn8Q6cWWXrc0EqFEZu gdwjv7BGyTeFIA3xQ+FnGcad6ES7vb0Pi/u0NPB9wKdjkCr09s+aF3grsBn0lhh1d2pj c+7WzDG+/tohSLHKl526a+SH40EGaU6CIgJTTZsHwlSimcSgeiio6Jdrp8/TStt3Xsot 83zp2BexNNg33gpdpJttu+d/yKcqDhs7dQVVI6+AAm/5Ot4IIp9sSL2dvs/I2MH7n1dV P9/A== X-Gm-Message-State: ALoCoQmloQHDuqV4DhavhJBMutaD1icRBPSDCcidAJ1W6TSgWXWwWcf9faBKJbIw2yGlTGQ873cL MIME-Version: 1.0 X-Received: by 10.229.134.198 with SMTP id k6mr21069725qct.13.1400204849009; Thu, 15 May 2014 18:47:29 -0700 (PDT) Received: by 10.96.38.200 with HTTP; Thu, 15 May 2014 18:47:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 15 May 2014 18:47:28 -0700 Message-ID: Subject: Re: On coprocessor API evolution From: James Taylor To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a1133e4caa36a7d04f97a986a X-Virus-Checked: Checked by ClamAV on apache.org --001a1133e4caa36a7d04f97a986a Content-Type: text/plain; charset=UTF-8 +1 to HBASE-11125. Current incarnation of coprocessors expose too much of the guts of the implementation. On Wed, May 14, 2014 at 6:13 PM, Andrew Purtell wrote: > Because coprocessor APIs are so tightly bound with internals, if we apply > suggested rules like as mentioned on HBASE-11054: > > I'd say policy should be no changes to method apis across minor > versions > > This will lock coprocessor based components to the limitations of the API > as we encounter them. Core code does not suffer this limitation, we are > otherwise free to refactor and change internal methods. For example, if we > apply this policy to the 0.98 branch, then we will have to abandon further > security feature development there and move to trunk only. This is because > we already are aware that coprocessor APIs as they stand are insufficient > still. > > Coprocessor APIs are a special class of internal method. We have had a > tension between allowing freedom of movement for developing them out and > providing some measure of stability for implementors for a while. > > It is my belief that the way forward is something like HBASE-11125. Perhaps > we can take this discussion to that JIRA and have this long overdue > conversation. > > Regarding security features specifically, I would also like to call your > attention to HBASE-11127. I think security has been an optional feature > long enough, it is becoming a core requirement for the project, so should > be moved into core. Sure, we can therefore sidestep any issues with > coprocessor API sufficiency for hosting security features. However, in my > opinion we should pursue both HBASE-11125 and HBASE-11127; the first to > provide the relative stability long asked for by coprocessor API users, the > latter to cleanly solve emerging issues with concurrency and versioning. > > > -- > Best regards, > > - Andy > > Problems worthy of attack prove their worth by hitting back. - Piet Hein > (via Tom White) > --001a1133e4caa36a7d04f97a986a--