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 72392CBD6 for ; Thu, 11 Dec 2014 16:18:44 +0000 (UTC) Received: (qmail 24614 invoked by uid 500); 11 Dec 2014 16:18:44 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 24571 invoked by uid 500); 11 Dec 2014 16:18:44 -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 24559 invoked by uid 99); 11 Dec 2014 16:18:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 16:18:43 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dlmarion@comcast.net designates 69.252.207.33 as permitted sender) Received: from [69.252.207.33] (HELO resqmta-ch2-01v.sys.comcast.net) (69.252.207.33) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 16:18:16 +0000 Received: from resomta-ch2-04v.sys.comcast.net ([69.252.207.100]) by resqmta-ch2-01v.sys.comcast.net with comcast id SGH71p0022AWL2D01GHEyk; Thu, 11 Dec 2014 16:17:14 +0000 Received: from resmail-ch2-129v.sys.comcast.net ([162.150.48.163]) by resomta-ch2-04v.sys.comcast.net with comcast id SGHE1p0083XFKay01GHEvN; Thu, 11 Dec 2014 16:17:14 +0000 Date: Thu, 11 Dec 2014 16:17:14 +0000 (UTC) From: dlmarion@comcast.net To: dev@accumulo.apache.org, kepner@ll.mit.edu Message-ID: <248092122.2627501.1418314634032.JavaMail.zimbra@comcast.net> In-Reply-To: <20141211154421.GB10400@ll.mit.edu> References: <999388760.2391882.1418303736974.JavaMail.zimbra@comcast.net> <20141211154421.GB10400@ll.mit.edu> Subject: Re: Planning for (eventual) removal of instance.dfs.{uri,dir} MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2627500_929031630.1418314634030" X-Originating-IP: [::ffff:63.239.65.11] X-Mailer: Zimbra 8.0.7_GA_6031 (ZimbraWebClient - FF31 (Win)/8.0.7_GA_6031) Thread-Topic: Planning for (eventual) removal of instance.dfs.{uri,dir} Thread-Index: 3IKHlPazfr8Cdu5jAJXH6kNkvjeTUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1418314634; bh=MPNV5Yl7ycFXQ6Y2yTDgfPVyQjlL66/roHJ2288zD0c=; h=Received:Received:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type; b=Ey3hnwivoSpTC45oJLNc/T5fOWRVs5evKKEMBCMeEt5wGrcrTCjZt1BZ44vu33dyy v5MYMXmxlpb4uGRtSBQq6yyUmLkpiRd6m5s7ot6PhDClBaQMszLkqmbkLjTi/TCsNi scXnkxZOWE3BRfk+si/LYtJV6XB4Tc21VDvOgMUzEJdeY8bgtVAzCEFt8PiT6oK6Np S8al7qopWc6hit10xMjb6QC+Y3xO/qcv2S2bWeR63MIFzHpQJ7pAZcNdpFNoB08S0I SeY35AnjFmzCC5lPzmZXXQ64x9hOGymk60v2KBRPnPTi29knh6IsF6y4Lwpq1gexry pGl0vG8Eicojw== X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2627500_929031630.1418314634030 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit It has been my experience that testing is always required when upgrading a major component. With the vote to adopt semver, our users will have more of a guarantee that their applications will work through patch and minor version upgrades. It might be useful though to have a document like CHANGES, but contain the items that have been removed in the major release and a note on what (if anything) is replacing the removed function. ----- Original Message ----- From: "Jeremy Kepner" To: dev@accumulo.apache.org Sent: Thursday, December 11, 2014 10:44:21 AM Subject: Re: Planning for (eventual) removal of instance.dfs.{uri,dir} When we remove functions, do we have any official guidance to our users who may have built applications that use those functions? Right now, the official position is that the Accumulo developers can remove as they see fit. However, this provides no guidance to users as to what they are suppose to do? As it stands, our guidance is that they have the following choices: (0) Diligently watch the Accumulo e-mail list and aggressively weigh in on any vote to remove functions that may impact them. (1) Find someone to modify the original source code of their applications, build it, and *re-verify* the application. I emphasise the re-verify because that is usually the most costly part of the process that often won't get approved by management. (2) Don't upgrade Accumulo. On Thu, Dec 11, 2014 at 10:03:56AM -0500, Christopher wrote: > Well, no, the database will start if we rely on instance.volumes, but we > may be unable to find files that have relative paths, if we incorrectly > assume /accumulo. Making it required is annoying if users don't have > relative paths. > > > -- > Christopher L Tubbs II > http://gravatar.com/ctubbsii > > On Thu, Dec 11, 2014 at 8:15 AM, wrote: > > > How so? If someone upgrades from another version and is using a different > > dir, doesn't specify it in the configuration, and we assume /accumulo, then > > their database won't start. The other option, which may be safer than > > making any assumptions, is to make instance.volumes a required parameter > > with no defaults. > > > > ----- Original Message ----- > > > > From: "Christopher" > > To: "Accumulo Dev List" > > Sent: Wednesday, December 10, 2014 11:51:39 PM > > Subject: Re: Planning for (eventual) removal of instance.dfs.{uri,dir} > > > > The URI is probably reasonable, but the dir is potentially problematic if > > you weren't using the default. > > > > > > -- > > Christopher L Tubbs II > > http://gravatar.com/ctubbsii > > > > On Wed, Dec 10, 2014 at 10:03 PM, dlmarion wrote: > > > > > Looks like VolumeConfiguration falls back to fs.defaultFS for the uri and > > > /accumulo for the dir. You could remove both properties and still keep > > this > > > as the documented default behavior if instance.volumes is not specified. > > > > > > > > > > > >
-------- Original message --------
From: Christopher < > > > ctubbsii@apache.org>
Date:12/10/2014 9:13 PM (GMT-05:00) > > >
To: Accumulo Dev List > > >
Cc:
Subject: Re: Planning for (eventual) removal of > > > instance.dfs.{uri,dir}
> > >
My ACCUMULO-2589 branch in github ( > > > https://github.com/ctubbsii/accumulo/tree/ACCUMULO-2589) does have a > > > commit > > > that drops a bunch of stuff (which may or may not be accepted as is for > > > 2.0). The instance.dfs.{uri,dir} properties aren't so easy and require > > more > > > planning, because it's not just removing a property... it's also dealing > > > with updating internal data by making relative paths absolute. > > > > > > For what it's worth, I'm also looking at what changes if we drop Hadoop 1 > > > support. > > > > > > As for the validation of config, I think we do a sanity check on startup > > > already, which we can always extend. Doesn't solve this issue, though. > > > > > > > > > -- > > > Christopher L Tubbs II > > > http://gravatar.com/ctubbsii > > > > > > On Wed, Dec 10, 2014 at 8:59 PM, dlmarion wrote: > > > > > > > We should schedule a bunch of deprecated things for removal in 2.0 to > > > ease > > > > maintenance. Do we have a way to validate the site.xml and zookeeper > > > > settings before startup and fail with appropriate error message. > > > > > > > > > > > > > > > >
-------- Original message --------
From: Christopher < > > > > ctubbsii@apache.org>
Date:12/10/2014 8:44 PM (GMT-05:00) > > > >
To: Accumulo Dev List > > > >
Cc:
Subject: Planning for (eventual) removal of > > > > instance.dfs.{uri,dir}
> > > >
So, > > > > > > > > instance.volumes replaces instance.dfs.uri and instance.dfs.dir in 1.6. > > > > But, what's our long-term plan for these? I ask, because we still have > > > > internal code that uses instance.dfs.uri to resolve relative paths. > > > > > > > > Should we force these to be re-written at some point (maybe on upgrade > > to > > > > 1.7)? Should we continue to support the deprecated properties > > > indefinitely > > > > and continue the lazy re-write-on-compact? Do we transition by > > requiring > > > > instance.volumes to specify the volumes, and only use the old > > properties > > > to > > > > resolve relative paths? > > > > > > > > My personal view is that we should provide an upgrade-prep/check tool > > > prior > > > > to upgrade to 2.0, which checks and/or re-writes paths and verifies > > that > > > > instance.volumes is set. > > > > > > > > Does anybody have a different opinion on this? > > > > > > > > -- > > > > Christopher L Tubbs II > > > > http://gravatar.com/ctubbsii > > > > > > > > > > > ------=_Part_2627500_929031630.1418314634030--