Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 C0F739F42 for ; Thu, 5 Apr 2012 16:14:48 +0000 (UTC) Received: (qmail 14558 invoked by uid 500); 5 Apr 2012 16:14:47 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 14445 invoked by uid 500); 5 Apr 2012 16:14:46 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 14230 invoked by uid 99); 5 Apr 2012 16:14:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 16:14:45 +0000 X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=RCVD_IN_DNSWL_NONE,REPTO_QUOTE_YAHOO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.139.52.204] (HELO nm7.bullet.mail.ac4.yahoo.com) (98.139.52.204) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 05 Apr 2012 16:14:29 +0000 Received: from [98.139.52.195] by nm7.bullet.mail.ac4.yahoo.com with NNFMP; 05 Apr 2012 16:14:07 -0000 Received: from [98.139.52.130] by tm8.bullet.mail.ac4.yahoo.com with NNFMP; 05 Apr 2012 16:14:07 -0000 Received: from [127.0.0.1] by omp1013.mail.ac4.yahoo.com with NNFMP; 05 Apr 2012 16:14:07 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 852541.6272.bm@omp1013.mail.ac4.yahoo.com Received: (qmail 73421 invoked by uid 60001); 5 Apr 2012 16:14:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1333642447; bh=MRTStgXoEy6OCt+CbP2YBfOunK21wDFDYZ/8JiSfMhg=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=W2THyw1/Fz9kxRcY4cBch3GV457dtGUiYBt4UX5nyxukCdnEsoVvTGz3KpG/1JsbdEvKBePOC3mx24TCdpcVZsHNfQ7kKyxKmel9qK+tRVhdN5l7p8oCLaX5JqEijpfxpYf9aJwYoXT+iGPj0b/O8iezJcNr3R5VFmlyTeQo/aY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nkcK1HvkanHEtewnyQErV5unN12rrXFeA6opcrihRrRtjGmb5Xt5Hzy+/WSdL2jAgPH2ZfNxUwHiwmsnPjYJ+g3cHgswYp92NMv0/dCCFhpaqjoK6vHAb60Cbt7ygw/NLvLflIZMKvY6HITh9bs9wvCT0R0r+vO+5ir4+5sjPGA=; X-YMail-OSG: xtQdnw0VM1m6iUZDhemiwDw9aB4P3zkm8.f.Uci0PeYVY6v _HepT6OxgHVyo_ub987cBBcg3lPOZPsuhwNfmSq3fjbYBSAc8x5gMOJf8Ah5 4ApVUNYklOre4oEPDMWcr2tGz6N4pyp4jbbFUFmhhL3Nz3Jh2YD2eELDycly .jBjT8b8zdct2e2jOxhJ1br.CfksX5wrUAX9puIdB0Pw5EGJkC0YZ7NRAPvy SbL5baofvNfov6DGtDBuAp42NHzNgsHUXdmqtrjvoSLhls0VTZLOn59WKuvC 07OqTr5hqqhRxjfi9afIRKRTYMosJWqP9pHZUmu_OLju2SMFRn1arh6t8Hpl QyWEg4MqbZuCnlRyHKmIhdandxV2kKIMUqeaNqrZoTlf5LMrkYQnShe_7ZZU Wzzu5JZ4MCMrmEV7ti20avuab1nr7sIbR_7YKook0usq99aO4dqx6.0oVo40 2Sh0clTDkwPJPrqXvmLRFrrXbCEe4a_ezwoXabg-- Received: from [71.139.26.60] by web65901.mail.ac4.yahoo.com via HTTP; Thu, 05 Apr 2012 09:14:07 PDT X-Mailer: YahooMailWebService/0.8.117.340979 References: <1333596274.24445.YahooMailNeo@web65902.mail.ac4.yahoo.com> Message-ID: <1333642447.59884.YahooMailNeo@web65901.mail.ac4.yahoo.com> Date: Thu, 5 Apr 2012 09:14:07 -0700 (PDT) From: "Tsz Wo \(Nicholas\), Sze" Reply-To: "Tsz Wo \(Nicholas\), Sze" Subject: Fw: Requirements for patch review To: common dev In-Reply-To: <1333596274.24445.YahooMailNeo@web65902.mail.ac4.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Resent.=0A=0A=0A=0A----- Forwarded Message -----=0AFrom: Tsz Wo Sze =0ATo: "common-dev@hadoop.apache.org" =0ACc: =0ASent: Wednesday, April 4, 2012 8:24 PM=0ASubject: Re: Requi= rements for patch review=0A=0A>> The wording here is ambiguous, though, whe= ther the committer who=0A>> provides the minimum one +1 may also be the aut= hor of the code change.=0A>> If so, that would seem to imply that committer= s may always make code=0A>> changes by merely +1ing their own patches, whic= h seems counter to the=0A>> whole point of "review-then-commit". So, I'm pr= etty sure that's not=0A>> what it means.=0A>>=0A>> The question that came u= p, however, was whether a non-committer=0A>> contributor may provide a bind= ing +1 for a patch written by a=0A>> committer. So, if I write a patch as a= committer, and then a community=0A>> member reviews it, am I free to commi= t it without another committer=0A>> looking at it? My understanding has alw= ays been that this is not the=0A>> case, but we should clarify the by-laws = if there is some ambiguity.=0A>>=0A>> I would propose the following amendme= nts:=0A>> A committer may not provide a binding +1 for his or her own patch= .=0A>> However, in the case of trivial patches only, a committer may use a = +1=0A>> from the problem reporter or other contributor in lieu of another= =0A>> committer's +1. The definition of a trivial patch is subject to the= =0A>> committer's best judgment, but in general should consist of things=0A= >> such as: documentation fixes, spelling mistakes, log message changes,=0A= >> or additional test cases.=0A=0AI agree that the bylaws is not clear abou= t this.=A0 For reviewing patches, my understanding is that any contributor,= a committer or not, could review patches and the +1 counts.=A0 I have work= ed on Hadoop almost five years.=A0 This is what we are doing for a long tim= e (if it is not from the beginning of the Hadoop project.)=A0 Could other p= eople confirm this?=0A=0AFrom the HowToContribute wiki, it does advise comm= itters to find another committer to review difficult patches: "Committers: = for non-trivial changes, it is best to get another committer to review your= patches before commit. ..."=A0 It seems saying that it is okay for non-com= mitters reviewing simple and medium patches.=A0 Todd's amendments use diffe= rent wording which seems implying a different requirement: the +1's from no= n-committers could be counted only for simple patches but not medium and di= fficult patches.=0A=0AI think we should keep allowing everyone to review pa= tches.=A0 It slows down the development and is discouraging if non-committe= r's +1 does not count.=A0 I believe the judgement of the committer who comm= its the patch won't commit bad code.=A0 We have svn and we could revert pat= ches if necessary.=A0 Lastly, if a committer keeps committing bad code, we = could exercise "Committer Removal".=0A=0ABTW, does anyone know what other A= pache projects do?=0A=0APS: since this is a bylaws change discussion, shoul= d we discuss it in general@?=0A=0ARegards,=0ATsz-Wo=0A