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 D13E01167A for ; Wed, 23 Apr 2014 20:36:05 +0000 (UTC) Received: (qmail 66460 invoked by uid 500); 23 Apr 2014 20:36:02 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 65601 invoked by uid 500); 23 Apr 2014 20:36:01 -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 65593 invoked by uid 99); 23 Apr 2014 20:36:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2014 20:36:01 +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 enis.soz@gmail.com designates 209.85.160.179 as permitted sender) Received: from [209.85.160.179] (HELO mail-yk0-f179.google.com) (209.85.160.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2014 20:35:56 +0000 Received: by mail-yk0-f179.google.com with SMTP id 9so1303188ykp.10 for ; Wed, 23 Apr 2014 13:35:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=LBPwYFHSJjWbcEjOedvPTzV0rVDBB6ZiHpJcjk9DcJU=; b=FQJFh8OiIvkkW0ceRIlALeYzF2AtlbLv3T97ViWJgZyUR4ALymtLuMFDjEB2Tx+Cto fJSQZkauQmFKBws31F9gvJ5PBB7xXs9D620w49oVCFSqn2Oby9dO/Usjc5v7AxElGZYw KI4gkd57Ch7/1TBCJI9T9BpKMIPriZQMhG8Lybk+a9vXB3t/J+ukT1MNczd+DNw80eJ2 Qx6vpkpMqRo2wSC2iniClRLgfl9vFSdPBnBN0paTNThdfH9GBILB2eaZdbpSZOLEr8id rg9EaqLdh82Vb8/qpxVR6mvbxyT15Q3hFPlsh5SIkRvNvhHt6n+Om5JuA5EbzIZA1BvD rywg== X-Received: by 10.236.81.6 with SMTP id l6mr73561701yhe.29.1398285334211; Wed, 23 Apr 2014 13:35:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.35.81 with HTTP; Wed, 23 Apr 2014 13:35:13 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Enis_S=C3=B6ztutar?= Date: Wed, 23 Apr 2014 13:35:13 -0700 Message-ID: Subject: Re: Regarding removal of deprecated APIs To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=20cf3011dcc5a3f11004f7bbac35 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3011dcc5a3f11004f7bbac35 Content-Type: text/plain; charset=UTF-8 I think it is ok to remove some of the deprecated stuff out. However, the way to deal with is probably on a case-by-case basis. For example, some of the HTable APIs had been removed in 0.98, but re-added back before release because Hive/Pig and possibly other downstreamers still want to work with 0.94.x through 0.98. If the API that replaces the deprecated stuff is not there in 0.94 (also early minor versions of 0.94.x), then we will be forcing our downstreamers to have a shim / reflection layer. In trunk, we have also deprecated some HConnectionManager / Hconnection stuff, and I plan to finish up work in https://issues.apache.org/jira/browse/HBASE-10602, and deprecate whole bunch of "core" APIs. We cannot just remove these unfortunately. Enis On Wed, Apr 23, 2014 at 11:19 AM, Andrew Purtell wrote: > I think some committed issues have already deprecated in 0.98 and removed > in trunk. None come to mind at the moment. Why would we not sort out API > issues in the pre 1.0 versions so 1.0 has no deprecated crap out of the > gate? > > > On Wed, Apr 23, 2014 at 5:59 AM, Jonathan Hsieh wrote: > > > +1. My suggestion: feel free to remove anything marked deprecated at or > > before 0.94. We should keep the deprecated 0.96 and 0.98 apis in 1.0 > > > > Jon. > > > > > > On Tue, Apr 22, 2014 at 10:13 PM, Anoop John > > wrote: > > > > > Hi Devs, > > > We have many client APIs deprecated since older versions (92+ > I > > > have seen . Do we have any guideline for removing those? (when) The > > > current Trunk going tp be 1.0, I think this is the time for cleanp.. > > What > > > do u say? > > > > > > -Anoop- > > > > > > > > > > > -- > > // Jonathan Hsieh (shay) > > // HBase Tech Lead, Software Engineer, Cloudera > > // jon@cloudera.com // @jmhsieh > > > > > > -- > Best regards, > > - Andy > > Problems worthy of attack prove their worth by hitting back. - Piet Hein > (via Tom White) > --20cf3011dcc5a3f11004f7bbac35--