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 EF6F1D701 for ; Sat, 2 Mar 2013 11:44:52 +0000 (UTC) Received: (qmail 61255 invoked by uid 500); 2 Mar 2013 11:44:52 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 60616 invoked by uid 500); 2 Mar 2013 11:44:46 -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 60575 invoked by uid 99); 2 Mar 2013 11:44:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Mar 2013 11:44: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 (nike.apache.org: domain of nkeywal@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Mar 2013 11:44:38 +0000 Received: by mail-wg0-f45.google.com with SMTP id dq12so3209567wgb.24 for ; Sat, 02 Mar 2013 03:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=6Z6XyDrPLo4QG+EoQbvfZ5/80gxtyLjfKaRFCKQqn/8=; b=uXFiTMeIiD0dU2PD2VJwwQoWqyvsx2N6XBJkICMA1Qu3LFgpjHUNauorSp0IKpV/HA CGWGO/a5rNLeZeiMghVDoHunjlbtLqS0gOFd/7pikGUx4OM7G8prEIt2aZN4QRXgD88e L+8Xv3bHGPOsJRkti9OhMgU8m4GXXBM+VL8L/YLJO8RfBUCeY5wrqvj+Hry+CYxc/VIu JXoIMhAQslFN8FHrejOfqGK/MdAZ+YLBo9dOErl/6rmIEEZiN06y50+1LGnmIlS2ha5u FqsTizKDblp3Y+r7wUbBlekdCQp6rngb28WL83d+Aj4OkVTkEhrJJr/dvdkzRkipAMz0 pYtA== X-Received: by 10.194.76.37 with SMTP id h5mr22782733wjw.21.1362224657562; Sat, 02 Mar 2013 03:44:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.110.227 with HTTP; Sat, 2 Mar 2013 03:43:57 -0800 (PST) In-Reply-To: <1362195843.90166.YahooMailNeo@web140602.mail.bf1.yahoo.com> References: <089rbhqknjjsoly0263snv3o.1362192404331@email.android.com> <1362194653.99724.YahooMailNeo@web140603.mail.bf1.yahoo.com> <1362195843.90166.YahooMailNeo@web140602.mail.bf1.yahoo.com> From: Nicolas Liochon Date: Sat, 2 Mar 2013 12:43:57 +0100 Message-ID: Subject: Re: [DISCUSS] More new feature backports to 0.94. To: dev@hbase.apache.org, lars hofhansl Content-Type: multipart/alternative; boundary=047d7bb03bc4d1805104d6efa40c X-Virus-Checked: Checked by ClamAV on apache.org --047d7bb03bc4d1805104d6efa40c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable New feature is a red herring imho: To me the only question is the regression risk.. And a feature can have a much lower regression risk than a bug fix. I guess we've all seen a fix for a non critical bug putting down a production system. Being able to backport features is a competitive advantage that leverages on a good architecture and a good test suite. Maintaining a branch adds a cost for everybody: if you have a bug to fix in 94.6.1, you need to fix it in 0.94.7 as well. So we should do it only if we really have to, and plan it accordingly (i.e. we should not have to create a 0.94.7.1 a week after the creation of the 0.94.6.1). In the future, the test suite should also help us to estimate and minimize the risk. We're not there yet, but having a good test coverage is key for version 1 imho. So that makes me +1 for backport, and 0 for branching (+1 if there is a good reason and a plan, but here it's a theoretical discussion, so,... ;-) = ) Nicolas On Sat, Mar 2, 2013 at 4:44 AM, lars hofhansl wrote: > I did mean "stablizing". What I was trying to point is that stuff we > backport might stabilize HBase. > > > > ________________________________ > From: Ted Yu > To: dev@hbase.apache.org; lars hofhansl > Sent: Friday, March 1, 2013 7:30 PM > Subject: Re: [DISCUSS] More new feature backports to 0.94. > > bq. That is only if we do not backport stabilizing "features". > Did you mean destabilizing above :-) > > My preference is option #1. With option #2, the community would be dealin= g > with one more branch which would increase the amount of work validating > each release candidate. > > To me, the difference between option #2 and the upcoming release candidat= es > of 0.95 would blur. > > Cheers > > On Fri, Mar 1, 2013 at 7:24 PM, lars hofhansl wrote: > > > That is only if we do not backport stabilizing "features". There is an > > "opportunity cost" to be paid if we take a too rigorous approach too. > > > > Take > > for example table-locks (which prompted this discussion). With that in > > place we can do safe online schema changes (that won't fail and leave > > the table in an undefined state when a concurrent split happens), it > > also allows for online merge. > > > > Now, is that a destabilizing > > "feature", or will it make HBase more stable and hence is an > > "improvement"? Depends on viewpoint, doesn't it? > > -- Lars > > > > > > ________________________________ > > From: Jean-Marc Spaggiari > > To: dev@hbase.apache.org > > Sent: Friday, March 1, 2013 7:12 PM > > Subject: Re: [DISCUSS] More new feature backports to 0.94. > > > > @Lars: No, not any concern about anything already backported. Just a > > preference to #2 because it seems to make things more stable and > > easier to manage. New feature =3D new release. Given new sub-releases > > are for fixes and improvements, but not new features. Also, if we > > backport a feature in one or many previous releases, we will have to > > backport also all the fixes each time there will be an issue. So we > > will have more maintenant work on previous releases. > > > > 2013/3/1 Enis S=F6ztutar : > > > I think the current way of risk vs rewards analysis is working well. = We > > > will just continue doing that on a case by case basis, discussing the > > > implications on individual issues. > > > > > > > > > > > > On Fri, Mar 1, 2013 at 6:46 PM, Lars Hofhansl > > wrote: > > > > > >> BTW are you concerned about any specific back port we did in the pas= t? > > So > > >> far we have not seen any destabilization in any of the 0.94 releases= . > > >> > > >> Jean-Marc Spaggiari wrote: > > >> > > >> >Hi Lars, #2, does it mean you will stop back-porting the new featur= es > > >> >when it will become a "long-term" release? If so, I'm for option > #2... > > >> > > > >> >JM > > >> > > > >> >In your option > > >> >2013/3/1 Enis S=F6ztutar : > > >> >> Thanks Lars, I think it is a good listing of the options we have. > > >> >> > > >> >> I'll be +1 for #1 and #2, with #1 being a preference. > > >> >> > > >> >> Enis > > >> >> > > >> >> > > >> >> On Fri, Mar 1, 2013 at 6:10 PM, lars hofhansl > > wrote: > > >> >> > > >> >>> So it seems that until we have a stable 0.96 (maybe 0.96.1 or > > 0.96.2) > > >> we > > >> >>> have three options: > > >> >>> 1. Backport new features to 0.94 as we see fit as long as we do > not > > >> >>> destabilize 0.94. > > >> >>> 2. Declare a certain point release (0.94.6 looks like a good > > >> candidate) as > > >> >>> a "long term", create an 0.94.6 branch (in addition to the usual > > 0.94.6 > > >> >>> tag) and than create 0.94.6.x fix only releases. I would volunte= er > > to > > >> >>> maintain a 0.94.6 branch in addition to the 0.94 branch. > > >> >>> 3. Categorically do not backport new features into 0.94 and defe= r > to > > >> 0.95. > > >> >>> > > >> >>> I'd be +1 on option #1 and #2, and -1 on option #3. > > >> >>> > > >> >>> -- Lars > > >> >>> > > >> >>> > > >> >>> > > >> >>> ________________________________ > > >> >>> From: Jonathan Hsieh > > >> >>> To: dev@hbase.apache.org; lars hofhansl > > >> >>> Sent: Friday, March 1, 2013 3:11 PM > > >> >>> Subject: Re: [DISCUSS] More new feature backports to 0.94. > > >> >>> > > >> >>> I think we are basically agreeing -- my primary concern is > bringing > > new > > >> >>> features in vital paths introduces more risk, I'd rather not > > backport > > >> major > > >> >>> new features unless we achieve a higher level of assurance throu= gh > > >> system > > >> >>> and basic fault injection testing. > > >> >>> > > >> >>> For the three current examples -- snapshots, zk table locks, > online > > >> merge > > >> >>> -- I actually would prefer not including any in apache 0.94. Of > the > > >> bunch, > > >> >>> I feel the table locks are the most risky since it affects vital > > paths > > >> a > > >> >>> user must use, where as snapshots and online merge are features > > that a > > >> >>> user could choose to use but does not necessarily have to use. > I'll > > >> voice > > >> >>> my concerns, reason for concerns, and justifications on the > > individual > > >> >>> jiras. > > >> >>> > > >> >>> I do feel that new features being in a dev/preview release like > 0.95 > > >> aligns > > >> >>> well and doesn't create situations where different versions have > > >> different > > >> >>> feature sets. New features should be introduced and hardened in= a > > >> >>> dev/preview version, and the turn into the production ready > versions > > >> after > > >> >>> they've been proven out a bit. > > >> >>> > > >> >>> Jon. > > >> >>> > > >> >>> On Fri, Mar 1, 2013 at 11:00 AM, lars hofhansl > > >> wrote: > > >> >>> > > >> >>> > This is an open source project, as long as there is a voluntee= r > to > > >> >>> > backport a patch I see no problem with doing this. > > >> >>> > The only thing we as the community should ensure is that it mu= st > > be > > >> >>> > demonstrated that the patch does not destabilize the 0.94 code > > base; > > >> that > > >> >>> > has to be done on a case by case basis. > > >> >>> > > > >> >>> > > > >> >>> > Also, there is no stable release of HBase other than 0.94 (0.9= 5 > is > > >> not > > >> >>> > stable, and we specifically state that it should not be used i= n > > >> >>> production). > > >> >>> > > > >> >>> > -- Lars > > >> >>> > > > >> >>> > > > >> >>> > > > >> >>> > ________________________________ > > >> >>> > From: Jonathan Hsieh > > >> >>> > To: dev@hbase.apache.org > > >> >>> > Sent: Friday, March 1, 2013 8:31 AM > > >> >>> > Subject: [DISCUSS] More new feature backports to 0.94. > > >> >>> > > > >> >>> > I was thinking more about HBASE-7360 (backport snapshots to > 0.94) > > and > > >> >>> also > > >> >>> > saw HBASE-7965 which suggests porting some major-ish features > > (table > > >> >>> locks, > > >> >>> > online merge) in to the apache 0.94 line. We should chat abo= ut > > >> what we > > >> >>> > want to do about new features and bringing them into stable > > versions > > >> >>> (0.94 > > >> >>> > today) and in general criteria we use for future versions. > > >> >>> > > > >> >>> > This is similar to the snapshots backport discussion and earli= er > > >> backport > > >> >>> > discussions. Here's my understanding of high level points we > > >> basically > > >> >>> > agree upon. > > >> >>> > * Backporting new features to the previous major version incur= s > > more > > >> cost > > >> >>> > when developing new features, pushes back efforts on making t= he > > >> trunk > > >> >>> > versions and reduces incentive to move to newer versions. > > >> >>> > * Backporting new features to earlier versions (0.9x.0, 0.9x.1= ) > is > > >> >>> > reasonable since they are generally less stable. > > >> >>> > * Backporting new features to later version (0.9x.5, 0.9x.6) i= s > > less > > >> >>> > reasonable -- (ex: a 0.94.6, or 0.94.7 should only include > robust > > >> >>> > features). > > >> >>> > * Backporting orthogonal features (snapshots) seems less risky > > than > > >> core > > >> >>> > changing features > > >> >>> > * An except: If multiple distributions declare intent to > > backport, it > > >> >>> makes > > >> >>> > sense to backport a feature. (snapshots for example). > > >> >>> > > > >> >>> > Some new circumstances and discussion topics: > > >> >>> > * We now have a dev branch (0.95) with looser compat > requirements > > >> that we > > >> >>> > could more readily release with dev/preview versions. Shouldn= 't > > this > > >> >>> > reduce the need to backport features to the apache stable > > branches? > > >> >>> Would > > >> >>> > releases of these releases "replace" the 0.x.0 or 0.x.1 > releases? > > >> >>> > * For major features in later versions we should raise the bar > on > > the > > >> >>> > amount of testing probably be more explicit about what testing > is > > >> done > > >> >>> > (unit tests not suffcient, system testing stories/resports a > > >> >>> requirement). > > >> >>> > Any other suggestions? > > >> >>> > > > >> >>> > Jon. > > >> >>> > > > >> >>> > -- > > >> >>> > // Jonathan Hsieh (shay) > > >> >>> > // Software Engineer, Cloudera > > >> >>> > // jon@cloudera.com > > >> >>> > > > >> >>> > > >> >>> > > >> >>> > > >> >>> -- > > >> >>> // Jonathan Hsieh (shay) > > >> >>> // Software Engineer, Cloudera > > >> >>> // jon@cloudera.com > > >> >>> > > >> > > > --047d7bb03bc4d1805104d6efa40c--