Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-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 9AEEC17FA9 for ; Wed, 8 Oct 2014 22:55:09 +0000 (UTC) Received: (qmail 78504 invoked by uid 500); 8 Oct 2014 22:55:09 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 78457 invoked by uid 500); 8 Oct 2014 22:55:09 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 78444 invoked by uid 99); 8 Oct 2014 22:55:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2014 22:55:09 +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 busbey@cloudera.com designates 209.85.192.44 as permitted sender) Received: from [209.85.192.44] (HELO mail-qg0-f44.google.com) (209.85.192.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2014 22:54:41 +0000 Received: by mail-qg0-f44.google.com with SMTP id j5so69418qga.17 for ; Wed, 08 Oct 2014 15:54:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=qI60CyGsHvObtZdVo122W1AzhxBq4Haac2V7YO5H+GM=; b=W07P8sJx9dTFRX5QfTymga7w6xVEdduZWoU0bGOvj7l9UUxRaTtxz8qUcFaTxJtOl1 21JkhXfDYQvryiQoKWAhKh99vfS5vNcZscUJlUbA+oVG9H6iYEVN9SlIaS0jZGbQt/GL mxVaI0fr1GSpVaOZBpTWHZTU3YdpMDTKUKTlkhdVl0/mvwK1mmN16S3tn4hO0Q6UtH7q qMBUjVgRqTQ/5Tcs/g8DbACp4gGcGgiQpu1TCND101jNYl49198xMGYXPcy9qTLrS1cu JLPVhVOSUhHI6+ASLET2vOueRN78RkfGVJGNx6szciUZrM9ooAtgjMwiTX0HxmlGHMj0 iOXg== X-Gm-Message-State: ALoCoQlRU+oHYG/bgffBwf5yRX/1i2y806coGfzQZF0dcdvKfKCte42xqmoXZvFXWPxr+I0kPFRW X-Received: by 10.140.31.195 with SMTP id f61mr48849305qgf.34.1412808880491; Wed, 08 Oct 2014 15:54:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.104.136 with HTTP; Wed, 8 Oct 2014 15:54:20 -0700 (PDT) In-Reply-To: <20141008213529.GB5930@ll.mit.edu> References: <20141006214223.GA7997@ll.mit.edu> <20141008213529.GB5930@ll.mit.edu> From: Sean Busbey Date: Wed, 8 Oct 2014 17:54:20 -0500 Message-ID: Subject: Re: Deprecation removal for 1.7.0 To: "dev@accumulo apache. org" , kepner@ll.mit.edu Content-Type: multipart/alternative; boundary=001a113a292475267e0504f13394 X-Virus-Checked: Checked by ClamAV on apache.org --001a113a292475267e0504f13394 Content-Type: text/plain; charset=UTF-8 I agree that a reasonable expectation is that we won't break downstream code. That's the reason we have a deprecation policy. We already require a full major release on things that are marked deprecated, and generally are good about proactively adding deprecation markers on older releases as an advisor. Users who are updating will get compiler warnings if nothing else. Users who aren't updating needn't worry about compatibility. Requiring a review prior to removing public API isn't tenable without changing our overall develoment model to be Review Then Commit. When mistakes happen, we fix things once we know about them (e.g. ACCUMULO-2659 & ACCUMULO-2726). That's a limitation of the development model we've chosen. On Wed, Oct 8, 2014 at 4:35 PM, Jeremy Kepner wrote: > Perhaps the process should be changed to require review prior to deletion. > We can't assume all our users are always scanning the e-mail list. > It is a reasonable expectation that we won't break their code. > > On Wed, Oct 08, 2014 at 05:33:36PM -0400, Keith Turner wrote: > > On Mon, Oct 6, 2014 at 9:45 PM, Adam Fuchs wrote: > > > > > So, I think we can make a general argument to set policy, and when > removing > > > a specific method we should make a specific argument. Personally, I > would > > > > > > > I am not sure any new policy is needed. If someone disagrees w/ a commit > > that removed a deprecated method, then they can always -1 the commit. > > Hopefully the persons argument for removing the method would be in the > JIRA > > associated w/ the commit. > > > > > > > set the bar at identifying the specific harm cause by the retention of > the > > > method, as well as polling the community and considering objections. > > > > > > Christopher, you made an argument about people misunderstanding the > > > semantics of the method and using it incorrectly. Is that not solved by > > > just deprecating the method? > > > > > > It would be nice to have a more structured way of polling the > community for > > > continuing use of deprecated code. Can anyone propose a way of doing > this? > > > Maybe a call-back system where people can register the deprecated > methods > > > that they care about? Maybe some scripts that people can use to > determine > > > which deprecated methods they depend on and submit those to us? > > > > > > Adam > > > On Mon, Oct 6, 2014 at 4:42 PM, Jeremy Kepner > wrote: > > > > > > > -1 > > > > > > > > Need a good reason why the current deprecated code is causing harm to > > > > Accumulo. > > > > > > > > > > > In general, keeping around deprecated code restricts how much we can > > > optimize behind the scenes (both for performance or maintainability). > It > > > also keeps our test burden higher. > > > > > > I'll let Christopher speak to the specifics of what he wants to > remove, but > > > it sounds like at least one of them is something that commonly results > in > > > incorrect usage, even internally. > > > > > > -- > > > Sean > > > > -- Sean --001a113a292475267e0504f13394--