Return-Path: Delivered-To: apmail-hadoop-general-archive@minotaur.apache.org Received: (qmail 69308 invoked from network); 14 Jul 2010 17:47:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Jul 2010 17:47:49 -0000 Received: (qmail 66657 invoked by uid 500); 14 Jul 2010 17:47:48 -0000 Delivered-To: apmail-hadoop-general-archive@hadoop.apache.org Received: (qmail 66574 invoked by uid 500); 14 Jul 2010 17:47:47 -0000 Mailing-List: contact general-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@hadoop.apache.org Delivered-To: mailing list general@hadoop.apache.org Received: (qmail 66566 invoked by uid 99); 14 Jul 2010 17:47:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jul 2010 17:47:47 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.83.176] (HELO mail-pv0-f176.google.com) (74.125.83.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jul 2010 17:47:41 +0000 Received: by pvc21 with SMTP id 21so5959254pvc.35 for ; Wed, 14 Jul 2010 10:46:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.125.20 with SMTP id x20mr1388165wfc.89.1279129579081; Wed, 14 Jul 2010 10:46:19 -0700 (PDT) Received: by 10.142.105.5 with HTTP; Wed, 14 Jul 2010 10:46:18 -0700 (PDT) In-Reply-To: <4C3CD27F.60003@yahoo-inc.com> References: <4C3CD27F.60003@yahoo-inc.com> Date: Wed, 14 Jul 2010 10:46:18 -0700 Message-ID: Subject: Re: HEP proposal From: Eli Collins To: general@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hey Konstantin, Thanks for taking a look, comments in-line. On Tue, Jul 13, 2010 at 1:54 PM, Konstantin Shvachko wr= ote: > Eli, > > Thanks for a really good proposal. > Some questions / comments: > > On voting > 1. Which voting rule? > http://www.apache.org/foundation/glossary.html#ConsensusApproval > http://www.apache.org/foundation/glossary.html#MajorityApproval > I think you mean the MajorityApproval as it does not have veto rule. > So may be it's just clarifying the reference. Good point, clarified so it's majority approval. > 2. Who can vote? > Usually PMCs have Binding Votes. > Would be good to have a sentence clarifying this. Yup, added. > 3. How long does the vote go? > Usual 3 days may not be enough. One week is reasonable? Specified one week. > 4. Discussion on public lists. > A HEP can evolve from a jira, then it should be counted as a public > discussion. I think it makes sense even to continue the discussion > there if so. Agreed, changed the wording to "If the scope of the idea is limited to a specific project the discussion may happen on the project-specific list or jira." > 5. How the set of editors is selected? > =A0 "The editors are apointed and removed by the PMC informally, similar = to > =A0 how the Apache Board appoints shepherds to projects." > This needs a reference. How does Apache Board appoints shepherds? Good question, anyone know? Since it's informal I imagine shepherds volunteer. The editors could be a subset of the PMC that either volunteers or is rotated periodically. > 6. The level of design details. > I think HEP should have a pretty detailed design. When people vote they > will want to be sure the design can lead to a reasonable implementation. > Should we say "implementation-ready design", rather than > "A high-level explanation of the design." > Or just > "A _detailed_ explanation of the design." Rewrote this section, tried to make it more explicit about giving both a high-level view and complete enough description so the design can lead to a reasonable implementation. Also added that this section should cover how to test the design. > 7. Typos: > successuflly, apointed, intial Fixed. Updated draft follows. Thanks, Eli HEP: 1 Title: HEP Purpose and Guidelines Author: Eli Collins Status: Draft What is a HEP? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D HEP stands for Hadoop Enhancement Proposal, and is based on Python's PEP (Python Enhancement Proposal) [1]. A HEP is a document that describes a new feature, it's rationale, and issues the feature needs to address in order to be successfully incorporated. The intent is for HEPs to be the primary mechanism for proposing significant new features to core Hadoop (common, HDFS and MapReduce), incorporating community feedback, and recording the proposal. Going through the HEP process should improve the chances that a proposal is successful. While HEPs do not need to come with code, they are a mechanism to propose features to the community, with the intent of contributing the feature, rather than request the community implement a feature. HEPs must be consistent with Apache bylaws [2], for example, the HEP workflow takes place on the public Apache Hadoop lists. When is a HEP Required? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D HEPs should not impede casual contribution to Hadoop. Small improvements and bugs do not require HEPs. Not all features need HEPs. While the decision is subjective, here are some guidelines to indicate a HEP should be considered: - The feature impacts backwards compatibility (eg modifies released public APIs in an incompatible way). - The feature requires that an existing component be substantially re-designed (eg NameNode modified to use Bookkeeper). - The implementation impact multiple parts of the system (eg symbolic links versus adding a pluggable component like a codec). - The feature impacts the entire development community (eg converts the build system to use maven). HEP Workflow =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The author of a HEP should first try to determine if their idea is HEP-able by sending mail to the general list. If the scope of the idea is limited to a specific project the discussion may happen on the project-specific list or jira. This gives the author a chance to flesh out the proposal, address initial concerns, and figure out whether it has a chance of being accepted. The author's role is to build consensus, and gather dissenting opinions. Following this discussion the author should draft a HEP proposal following the HEP template. The proposal should accurately reflect and address feedback and dissenting opinions. For example, flesh out sections on backwards compatibility or testing. The author should send the draft of the proposal to hep@hadoop.apache.org for review. This is a new, public list for editors and those interested in following the review process. A set of editors reviews incoming HEPs. Each HEP is assigned a single primary editor. An editor may volunteer if they feel particular functional expertise is required or assign HEPs to editors round robin. The editor reviews the proposal and may request it be updated if it does not sufficiently address feedback raised during discussion, eg why the proposal is not redundant with existing functionality, or is technically sound, sufficiently motivated, covers backwards compatibility, etc. As updates are necessary, the HEP author can check in new versions if they have commit permissions, or can email new HEP versions to the editor for committing. In order to ensure HEP proposals make progress the editor should respond to proposal drafts within two weeks of receiving them (or the proposer can request another editor), and the proposer should generate updates to the draft within two weeks of receiving feedback from the editor. The editor's role is to determine if the proposal is complete, so that the proposal can be voted on, not whether they agree with the proposal itself. The editor's involvement should increase the chance that a HEP proposal makes it to a vote. Once the editor deems the proposal is complete they add it to a versioned HEP repository and the author posts the proposal to general@hadoop.apache.org for vote. HEP votes, like Apache procedural votes, use majority approval [3]. Only PMC members have binding votes. Votes are open for a period of 1 week to allow all active voters time to consider the proposal. Successful HEPs are assigned a number, unsuccessful HEPs remain drafts. The editors are appointed and removed by the PMC informally, similar to how the Apache Board appoints shepherds to projects. HEP Contents =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Each HEP should contain the following: 1. Preamble -- Including the HEP number, a short descriptive title, and the names of the authors. 2. Abstract -- A short (~200 word) description of the technical issue being addressed. 3. Copyright/public domain -- Each HEP must either be explicitly labelled as placed in the public domain (see this HEP as an example). 4. Design -- This section should give both a high-level view and a complete description of the feature. While the design does not need to cover implementation detail it should be clear to the reader that the design can lead to a reasonable implementation. This section should cover intended use cases, failure scenarios, strategies for testing, and impact on the existing system. 5. Motivation -- The motivation spells out the use case for the feature and the benefits it provides. 6. Rationale -- The rationale describes what motivated the design and why particular design decisions were made. It should describe alternate designs that were considered and related work, e.g. how the feature is designed in other systems. It should also consider whether the feature could be achieved by layering atop the existing system rather than modifying it. The rationale should provide evidence of consensus within the community and discuss important objections or concerns raised during discussion. 7. Backwards Compatibility -- All HEPs that introduce backwards incompatibilities must include a section describing these incompatibilities and their severity. The HEP must explain how the author proposes to deal with these incompatibilities. HEP submissions without a sufficient backwards compatibility treatise may be rejected outright. HEP Template =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D HEPs should be plain text with minimal structural markup that adheres to a rigid style. You can use this HEP as an example. Each HEP starts with a header that contains the HEP number (or empty if the number has not yet been assigned), title, list of authors and status (Draft, Accepted, Rejected, or Withdrawn). Auxiliary Files =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D HEPs may include auxiliary files such as diagrams. Such files must be named ``hep-XXXX-Y.ext``, where "XXXX" is the HEP number, "Y" is a serial number (starting at 1), and "ext" is replaced by the actual file extension (e.g. "png"). References =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1. http://www.python.org/dev/peps/pep-0001 2. http://www.apache.org/foundation/bylaws.html 3. http://www.apache.org/foundation/glossary.html#MajorityApproval Copyright =3D=3D=3D=3D=3D=3D=3D=3D=3D This document has been placed in the public domain.