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 91D7017CAF for ; Tue, 17 Mar 2015 19:55:09 +0000 (UTC) Received: (qmail 85975 invoked by uid 500); 17 Mar 2015 19:55:03 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 85889 invoked by uid 500); 17 Mar 2015 19:55:03 -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 85875 invoked by uid 99); 17 Mar 2015 19:55:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 19:55:03 +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 (athena.apache.org: domain of ndimiduk@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 19:54:58 +0000 Received: by wgra20 with SMTP id a20so17338640wgr.3 for ; Tue, 17 Mar 2015 12:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EewY/XtHYx7XPgjPOo339UKPRHbCS9ZFTPCeWrg5cwc=; b=V26Ssa7FMLwNwJX11xwkrzvQ1l4v/woj5/2sOiKbGZzYsOeF/FjLWOPb2g7sdkA4k7 hUjZsaKQ9cRdCSzilKFuucz1lKnXhLG5VCHG5A2MZRbuP7Hvb8Fvzr/9OFUgFmYzbxsy CfeIV4pN9wUERqM6qg390K+Zfb52IMdeuZmuLNaV8SRYEsaHoSjZGn3pxEhvuCCS1qpy a+x+8M81zAzLhB15BITkZCy5vM7KXRvQD+hdL/7HzDuAqciwMg4GwbZ8zb/YA6pVlNbK DBGhm6iYH/PXz9ySmiKk5wkeCsvsM5yMxF2iTYtwFsmjFmQyQZFVkOV9FeAXRUWBslRl NEaA== MIME-Version: 1.0 X-Received: by 10.194.185.68 with SMTP id fa4mr132803277wjc.111.1426622077190; Tue, 17 Mar 2015 12:54:37 -0700 (PDT) Received: by 10.28.186.135 with HTTP; Tue, 17 Mar 2015 12:54:37 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 Mar 2015 12:54:37 -0700 Message-ID: Subject: Re: [DISCUSSION] "Convenience binaries" bundling Phoenix From: Nick Dimiduk To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=047d7bacb11e23cba20511815628 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bacb11e23cba20511815628 Content-Type: text/plain; charset=UTF-8 I've been thinking of something along these lines as well. Rather an either official Apache project, I was thinking it could be something as simple as a github managed dockerfile that stands up a HBase + Phoenix singlenode deal, see if momentum builds. Another idea is Phoenix could include HBase in its binary release, the same way HBase includes Hadoop. That way there's an "out of the box" distribution for Phoenix. That would be a discussion for the Phoenix dev list. -n On Tuesday, March 17, 2015, Andrew Purtell wrote: > Consider if the HBase project starts releasing new "convenience binaries", > in addition to the existing ones, in which we bundle a recent/vetted/stable > version of Phoenix, with the site file changes for loading their > coprocessors already patched in (to hbase-default.xml) For now this would > be done for 0.98 only, since that's the only release line supported by an > actively developed Phoenix version. We could also do this for 0.94 releases > with Phoenix 3 if the 0.94 RM wants, but I doubt there would be any demand > for this, Phoenix 3 is inactive because that community has all moved to 4, > I'd imagine that carries over here. > > Advantages: > > - HBase would ship with a SQL access option. There's the Phoenix JDBC > driver of course, and we'd also bundle the psql and sqlline exec wrappers > from the Phoenix binary distribution. We'd have both the jruby shell and a > SQL shell, this is a powerful combination. > > - HBase ships with a library that assists users in making efficient queries > if their data is typed, but this doesn't include the server side > optimizations that the Phoenix coprocessors provide, and in that case no > hand rolling is necessary. > > - HBase would ship with secondary indexes. These would not cover all > possible use cases and requirements, let's stipulate that now and hope this > doesn't kick off another circular discussion on that front. Unquestionably > this is a compelling Phoenix feature so some use cases obviously can > benefit, and if users find the combined distribution useful enough we don't > have to discuss secondary indexes in HBase core again. > > - We will have done the necessary integration work for the combined result > to be easy to use. Apache software cat herders will appreciate this. > > - It's totally optional, simply ignore the new binary packages if you don't > care. This is not a Grand Unification proposal. > > Concerns: > > - More work for the RM. Unquestionably. > > - Concerns about the quality of the combined convenience artifact: Is there > an implied warranty? Could we disclaim? Should we disclaim? If not, how > does HBase do QA on this. Related to the above concern about RM bandwidth. > Maybe Phoenix could help. > > - Increased coupling between the projects. Frankly, I think this already > there, we just don't see it until we trip over issues that could have been > avoided with more communication between projects. Pushing on Phoenix for > bits for a monthly HBase release cadence will surface issues faster and > improve communication between the projects. This benefits Phoenix with more > QA bandwidth. This benefits HBase because we see Phoenix bringing in a > significant number of users. > > - We may want to revisit again normalizing type support in HBase's client > library and Phoenix, eventually. > > I could add more items to the advantage or concern lists but mainly want to > float the idea for feedback at this time. > > Thoughts? > > -- > Best regards, > > - Andy > > Problems worthy of attack prove their worth by hitting back. - Piet Hein > (via Tom White) > --047d7bacb11e23cba20511815628--