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 2E98E186D1 for ; Sun, 28 Jun 2015 05:56:58 +0000 (UTC) Received: (qmail 60434 invoked by uid 500); 28 Jun 2015 05:56:57 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 60343 invoked by uid 500); 28 Jun 2015 05:56:57 -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 60331 invoked by uid 99); 28 Jun 2015 05:56:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Jun 2015 05:56:57 +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 saint.ack@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-ig0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Jun 2015 05:54:43 +0000 Received: by igcsj18 with SMTP id sj18so58535030igc.1 for ; Sat, 27 Jun 2015 22:56:31 -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=GekHlOoYtdcdZicDXtr1MD2d4VAg9gGUhYt5YLCots0=; b=YrLsvdMHqi4WdpKmkzGaQ7eWrE7PZGJQjsqI2TB3xAxb3NWkG4a7wzvc3fRXPcqcqG bICPcriAaGJtHoJzUkpgiA9Lq0kY85yh+ST9NOTb1Bloo/RTz+kyRlsVscl32G0MiSb0 72P7lLjBPNIuuy9VSLIh3gLO7kMSrvqh8y9gBPPFGugnHcRTYpbiD7G2ossFoIWxGcor Ng3G6eD4I705aeq4faBBmVwyv/RFaCvY8GrYHnT8KyhEoYhzAEx4WM/2YtMH+g6m8rk9 fsN90NnsTH0X13L5BrWx6zYHAFN5AkUTp27F2C5MPH+1pxEJgaDwIt+QPGwlvvQtnAAa Xztw== MIME-Version: 1.0 X-Received: by 10.43.168.6 with SMTP id ng6mr12067456icc.66.1435470991047; Sat, 27 Jun 2015 22:56:31 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.36.47.21 with HTTP; Sat, 27 Jun 2015 22:56:30 -0700 (PDT) In-Reply-To: References: Date: Sat, 27 Jun 2015 22:56:30 -0700 X-Google-Sender-Auth: KyjWmAvjdKvjYfpRVQqo-LSx2PQ Message-ID: Subject: Re: Semantic Versioning Worksheet From: Stack To: HBase Dev List Content-Type: multipart/alternative; boundary=001a11c2f82c81c6dd05198da228 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2f82c81c6dd05198da228 Content-Type: text/plain; charset=UTF-8 On Fri, Jun 26, 2015 at 12:43 PM, Mikhail Antonov wrote: > Thinking more on that.. What's the correlation between Public/Private > annotations and Deprecated annotation? I'm not sure SemVer has notion > of deprecation of non-public API. Should we say that we don't have it > too, or we do, but deprecation cycle of such API is more aggressive > than for public? > > There is none. If Private, semvar does not apply; no deprecation cycle necessary. What to do about Public/Evolving. semvar applies here? St.Ack > -Mikhail > > On Fri, Jun 26, 2015 at 12:31 PM, Mikhail Antonov > wrote: > > In branch-1.0 HTable is {Private, Stable} with comment - > > > > *

HTable is no longer a client API. Use {@link Table} instead. It is > marked > > * InterfaceAudience.Private indicating that this is an HBase-internal > > class as defined in > > * Hadoop > > * Interface Classification > > * There are no guarantees for backwards source / binary compatibility > > and methods or class can > > * change or go away without deprecation. > > > > So I think it's OK to remove such methods in 2.0. Otherwise, IMO, > > having to go thru full major version of deprecation kind of makes > > Private audience annotation meaningless? > > > > semver.org says: > > > > "Software using Semantic Versioning MUST declare a public API. This > > API could be declared in the code itself or exist strictly in > > documentation. However it is done, it should be precise and > > comprehensive. > > > > .. > > > > Version 1.0.0 defines the public API. The way in which the version > > number is incremented after this release is dependent on this public > > API and how it changes." > > > > > > -Mikhail > > > > On Fri, Jun 26, 2015 at 11:20 AM, Sean Busbey > wrote: > >> For a given major version, we should make sure to keep at least the > promise > >> we made when it started. > >> > >> For HBase 1.y, we said at 1.0 that we wouldn't remove public API without > >> having a full major version of deprecation. If only for that reason I > agree > >> wholeheartedly on the principle. > >> > >> But I thought HTable wasn't public API as of the 1.0 release. Is that > not > >> correct? > >> > >> -- > >> Sean > >> On Jun 26, 2015 12:59 PM, "Stack" wrote: > >> > >>> (Intent is that this is a long-lived thread where we work out our > >>> transition to semantic versioning). > >>> > >>> In HBASE-13214 "Remove deprecated and unused methods from HTable > class", > >>> Ashish Singhi is doing nice cleanup work. His patch is removing > deprecated > >>> methods from HTable for hbase-2.0.0. A few methods up for removal are > >>> deprecated in hbase-1.1.0 but not in hbase-1.0.0. Ashish quotes > Semantic > >>> Versioning: > >>> > >>> "...issue a new minor release with the deprecation in place. Before you > >>> completely remove the functionality in a new major release there > should be > >>> at least one minor release that contains the deprecation so that users > can > >>> smoothly transition to the new API." > >>> > >>> So, Ashish's patch is well within what SV allows but to my mind we > need to > >>> be even more conservative if only during this period of transition to > SV. I > >>> think we should not remove deprecated methods, especially high-profile > >>> client-facing ones, until a major version has elapsed with the method > >>> deprecated. > >>> > >>> Opinions? > >>> Thanks, > >>> St.Ack > >>> > > > > > > > > -- > > Thanks, > > Michael Antonov > > > > -- > Thanks, > Michael Antonov > --001a11c2f82c81c6dd05198da228--