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 DE9587A41 for ; Tue, 13 Dec 2011 21:01:45 +0000 (UTC) Received: (qmail 9035 invoked by uid 500); 13 Dec 2011 21:01:45 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 9009 invoked by uid 500); 13 Dec 2011 21:01:45 -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 9001 invoked by uid 99); 13 Dec 2011 21:01:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 21:01:45 +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 yuzhihong@gmail.com designates 74.125.83.41 as permitted sender) Received: from [74.125.83.41] (HELO mail-ee0-f41.google.com) (74.125.83.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 21:01:38 +0000 Received: by eekc41 with SMTP id c41so127029eek.14 for ; Tue, 13 Dec 2011 13:01:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=tJEYCdkPj4grxrBNOR6xXZegqOulglbUomw1apouTIw=; b=TzJwmfBzXV8PE4v6h+VP7i4xQREbOe4hh+QtJulSqeLsZZHjjKd8cDedSlmkoy9dNR e4Fx4dKLnsmW+cPedNYkCJ6U1ZzioioPZcE1nSelYKFr+u4ulbJfwmkZOHHSO/WLLgRJ rUhpnnHnRPYXKv1zRwgYkpYWSJxsJAmztqKfI= MIME-Version: 1.0 Received: by 10.180.90.234 with SMTP id bz10mr217874wib.46.1323810076580; Tue, 13 Dec 2011 13:01:16 -0800 (PST) Received: by 10.217.4.137 with HTTP; Tue, 13 Dec 2011 13:01:16 -0800 (PST) Date: Tue, 13 Dec 2011 13:01:16 -0800 Message-ID: Subject: Feature branch Was: Code review request for hbase-4120 table priority From: Ted Yu To: dev@hbase.apache.org Cc: Andrew Purtell Content-Type: multipart/alternative; boundary=f46d043be0a05d5af004b3ff8ddb --f46d043be0a05d5af004b3ff8ddb Content-Type: text/plain; charset=ISO-8859-1 I was thinking about using a feature branch as well. May I get clarification for the following issues first ? 1. Would there ever be competing feature branches ? e.g. there're two implementations for online schema update. Would there be two branches, one for each implementation ? If the answer is yes, I want to know how we decide which one to pursue and which one to abandon. If the answer is no, we need to decide what criteria should be used in deciding whether to graduate or abandon the development on that branch 2. I suppose there would be some committers acting as sponsors for the branch. How often should they refresh the branch to keep in sync with TRUNK 3. If the development on that branch takes longer than the cycle between major releases, e.g. a branch is made off of 0.94 but by the time feature completes, major release has moved beyond 0.96 What should we do ? Thanks On Tue, Dec 13, 2011 at 11:57 AM, Jonathan Hsieh wrote: > Note: I've only done a quick look at the jira and the code. The high level > design document/approach seems reasonable and I think most agree that this > is a useful feature and that a lot of effort has gone into it. > > The feature is off by default -- I can see one main difference in this > situation compared to other major newish generally-considered experimental > or incomplete features (replication, off-heap slab cache, online schema > changes). This feature doesn't have one of the current HBase committers > using/testing it in their production environments or in their test > environment. > > This seems perfect for *a feature branch* as we talked briefly about at the > Pow-wow. There seem to be some problems identified that will result in > follow on issues (races mentioned). Using a branch would: > * make it available at apache allows devs to test it > * allows a committer who is championing this to test it by using it more > and to iron out glaring problems in environment, > * encourages and shepards the contributor allowing them to justify > continued effort, > * allows all of us to defer the decision to fold the feature into 0.94 (or > 0.96, or later) when more folks are familiar or comfortable with it. > > Who knows, maybe some of the TaoBao folks will eventually become > committers. > > Jon. > > On Tue, Dec 13, 2011 at 12:42 AM, wrote: > > > Thanks for the suggestion, Lars. > > The original scope for 4120 is bigger than the latest patch which only > > covers table priorities. > > > > Let's perform more reviews for the current patch. We can create more > > subtasks for the umbrella feature. > > > > Cheers > > > > > > > > On Dec 12, 2011, at 11:23 PM, lars hofhansl wrote: > > > > > While I haven't looked (in depth) at the patch, yet, this is definitely > > a feature that will be extremely helpful > > > for Salesforce's multitenant architecture to isolate tenants and > > services from each other. > > > > > > While we don't have HBase in our production data centers, yet (working > > on it), I am certain that we will use this feature > > > eventually. > > > > > > Would it help to break the patch into multiple smaller patches? > > > > > > Off the bat I think of: > > > 1. the grouping logic > > > 2. regionserver configuration (caching, etc) per group > > > 3. table priorities > > > 4. etc... (folks who have actually looked at the patch can probably > > identify better demarcations between the aspects of this change.) > > > > > > That would certainly make it more manageable for me - personally - to > > review the code. > > > > > > -- Lars > > > > > > > > > ----- Original Message ----- > > > From: Todd Lipcon > > > To: dev@hbase.apache.org; Andrew Purtell > > > Cc: > > > Sent: Monday, December 12, 2011 4:55 PM > > > Subject: Re: Code review request for hbase-4120 table priority > > > > > > On Mon, Dec 12, 2011 at 4:36 PM, Andrew Purtell > > wrote: > > >> > > >> HBase as a project should not have as a criteria for inclusion of some > > feature that Cloudera and SU and Facebook run it. Core managed to escape > > Yahoo. Let's not run history in reverse here in HBase land. And, > actually, > > this makes it worse, because the the occurrence that a number of core > HBase > > users (multiple) will all need something is substantially less likely > than > > if one might find it useful; or, maybe, only users outside of those with > > such self-appointed attitude, yet perhaps a community multiples in size > of > > "core users". > > > > > > It's not about Cloudera/SU/FB - it's about code that will be supported > > > by people who are committed to the project. TrendMicro certainly fits > > > the bill. I of course mean no offense to Lu Jia, but neither he nor > > > Taobao has made continued contributions in the past - just one other > > > bug fix beyond the HBASE-4120 project. > > > > > > If we have a few of the core people committed to running this in > > > production and supporting it in the future, I'm all for it (just like > > > I am +1 on security). I just want to avoid repeating mistakes like the > > > Avro server which isn't really supported despite being in our > > > codebase. (You'll note this was a Cloudera contribution but from a > > > contributor who was doing this in his spare time rather than part of > > > job responsibilities, and we have never run it in production > > > scenarios) > > > > > > I am consistently conservative on what goes into the project because > > > we have to stand behind what we release. I certainly don't think _all_ > > > core people should find every feature useful (eg REST and Thrift are > > > examples of some things which are useless to many but I think make > > > sense). But if _no_ core people see a feature as a requirement then > > > I'd rather let it bake until we have many people requesting it. > > > Otherwise people download HBase, try out these "fringe" features, and > > > get a bad taste in their mouth when they've bit-rot across several > > > versions of little usage. > > > > > > -Todd > > > -- > > > Todd Lipcon > > > Software Engineer, Cloudera > > > > > > > > > -- > // Jonathan Hsieh (shay) > // Software Engineer, Cloudera > // jon@cloudera.com > --f46d043be0a05d5af004b3ff8ddb--