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 CE8EB173DC for ; Thu, 23 Apr 2015 18:07:29 +0000 (UTC) Received: (qmail 49990 invoked by uid 500); 23 Apr 2015 18:07:29 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 49899 invoked by uid 500); 23 Apr 2015 18:07:29 -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 49887 invoked by uid 99); 23 Apr 2015 18:07:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 18:07:28 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=HTML_MESSAGE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of saint.ack@gmail.com does not designate 54.164.171.186 as permitted sender) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 18:07:20 +0000 Received: from mail-qc0-f174.google.com (mail-qc0-f174.google.com [209.85.216.174]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 51C7342AB6 for ; Thu, 23 Apr 2015 18:07:00 +0000 (UTC) Received: by qcpm10 with SMTP id m10so13446135qcp.3 for ; Thu, 23 Apr 2015 11:07:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=iywDR1K47ecge79RU/nu1RI3y5VG4I7HY9Zb+K6MzAc=; b=GTWnBtegtVFzOp+h6e0ZT820e1+MbufsbJfmogju8dfMzmaN1koCMZ67i26T7ZONGm FXCfmkPsLI6BWqNFEUSWmZG/Te63x0VG3ObIRRAj/giz1wqPsElVVfJn+z52Jgpy0JbS 65TSNhS0Nm+d1mcp+p+bk6oL41LF/dZABWHWZRmli2df3P9BO+frZThBEOHxl8qkdc9r IM9fWRk47DOJssO0vOHaxGxYl29M6cjtq8BKN61fbHkDY2tzHB98RHY+pPpgCLQFaqA4 K4sgzCT7x3HNMCGQyBnUh9vm/vjLci6DLtJOCN5v/fGvrV43z0anen60Zt+/VmcwO/re iX/w== MIME-Version: 1.0 X-Received: by 10.55.21.8 with SMTP id f8mr7807394qkh.2.1429812420087; Thu, 23 Apr 2015 11:07:00 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.140.143.137 with HTTP; Thu, 23 Apr 2015 11:07:00 -0700 (PDT) In-Reply-To: References: Date: Thu, 23 Apr 2015 11:07:00 -0700 X-Google-Sender-Auth: UtARYIBuNckSHHW3uqHBE3lLudg Message-ID: Subject: Re: The Renumbering (proposed) From: Stack To: HBase Dev List Content-Type: multipart/alternative; boundary=001a1147e8e86520b00514682567 X-Virus-Checked: Checked by ClamAV on apache.org --001a1147e8e86520b00514682567 Content-Type: text/plain; charset=UTF-8 On Thu, Apr 23, 2015 at 10:18 AM, Andrew Purtell wrote: > On HBASE-13339 (starting at > > https://issues.apache.org/jira/browse/HBASE-13339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507527#comment-14507527 > ) > there's an emerging consensus that we should renumber 1.1 as 2.0, so we can > move up to Hadoop 2.6.0 there without risk of breaking any semver promises, > and, therefore, master branch from 2.0 to 3.0. > The presence of a 2.x so soon after 1.0 will cause 1.x to wither away (as 0.96 was overshadowed by 0.98) and will confuse our users since it is ~98% 1.0.0. Are the hadoop 2.5.x/2.6.x incompats just a few transitive includes brought in by hadoop 2.6? Can we not release-note/doc our way a semvar pass because our brothers upstream are less puritan than us? Heck, lets 'blame' them! If not, lets not touch the hadoop in hbase-1.x: + No one runs on the version bundled with HBase (our first instruction is to replace what HBase bundles). + If a feature requires a later version of hadoop than we bundle, remove the feature or only have it come alive if a later version of hadoop is running under us (with appropriate doc). + If our current hadoop has a bad bug (HDFS-7004), we talk it up and have folks upgrade (if nothing to upgrade too, lets help make it happen). + If a hadoop beyond what we ship, update our matrix after running some tests (noting if anything needs change). Why did we not find HDFS-7004 previous? I've been running cluster tests but I've been up on hadoop 2.7 branch so have not come across HDFS-7004 (my bad). When others are testing they are running on random apache hadoop version or random CDH, HDP, etc. The notion that the hadoop we bundle must 'work' beyond passing unit tests and being able to run standalone is a strait-jacket we should not put on. St.Ack > Given the concerns expressed recently about API additions with respect to > semvar in the 1.0.1 RCs (see the thread on dev@ titled "Clarifying > interface evolution freedom in patch releases"), if we do renumber 1.1 to > 2.0 I think this gives us an opportunity to resolve any concerns about > 1.0.1 by renumbering it as 1.1.0. > > How this might work tactically is: > > git checkout master > > git add `find . -name pom.xml` ; git commit -m "..." ; git push ... > git checkout branch-1 > git branch -m branch-2 # rename branch-1 to branch-2 > > git add `find . -name pom.xml` ; git commit -m "..." ; git push ... > git checkout branch-1.1 > git branch -m branch-2.0 # rename branch-1.1 to branch-2.0 > > git add `find . -name pom.xml` ; git commit -m "..." ; git push ... > git checkout branch-1.0 > git checkout -b branch-1 # create new branch-1 from branch-1.0 > > git add `find . -name pom.xml` ; git commit -m "..." ; git push ... > > This leaves us with a "branch-1.0" that has commits of concern where API > additions have been made that wouldn't allow transparent downgrade. We'd > revert or amend those: > > git checkout branch-1.0 > git revert .. ; git commit > > or > > > git add ... ; git commit -m"Amend ..." ; git push ... > > Thoughts? > > -- > Best regards, > > - Andy > > Problems worthy of attack prove their worth by hitting back. - Piet Hein > (via Tom White) > --001a1147e8e86520b00514682567--