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 D7B8FCB7B for ; Thu, 11 Dec 2014 16:13:08 +0000 (UTC) Received: (qmail 11632 invoked by uid 500); 11 Dec 2014 16:13:08 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 11594 invoked by uid 500); 11 Dec 2014 16:13:08 -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 11515 invoked by uid 99); 11 Dec 2014 16:13:07 -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:13:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of josh.elser@gmail.com designates 209.85.216.46 as permitted sender) Received: from [209.85.216.46] (HELO mail-qa0-f46.google.com) (209.85.216.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 16:12:41 +0000 Received: by mail-qa0-f46.google.com with SMTP id n8so3746534qaq.5 for ; Thu, 11 Dec 2014 08:12:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=mDMxvDXJXukZIGDKhOK3AZH+fjtYkZworNc13v3gbmg=; b=D+Y8n6gMrM8i58cMz+IEEqN1qlXnpa+9iiChGfy4yI6xQR0XVnYdjrXiwEXG4Cg3lJ M0d47tlDgq4hTknVgcm/1ekwb8jiLIu6f1n+jgWXdUIBLzNKH71GE3Z6AkfPISK0oyVf 3wbEFDLRY52WN/rJpKIjjo5Tisw5wXnLekNj/SGF+ZRCcuIuB6lOFKF/wnaE29FmPm2S MsuIwMVBgBaGmsrv2bDgTqZLE7G3Q1r9r00OTBiKXGBjvg0DAM/NJk9zzgTGBqMtHIg4 K0rHqlNkMMx+hv8I068EkUZ6m699XEVT/QgzjGGN0jtb+jGLntbkGLlLb1Zgj5a8s+6b Hvww== X-Received: by 10.224.53.69 with SMTP id l5mr21253655qag.20.1418314360518; Thu, 11 Dec 2014 08:12:40 -0800 (PST) Received: from HW10447.local (pool-71-166-48-231.bltmmd.fios.verizon.net. [71.166.48.231]) by mx.google.com with ESMTPSA id g66sm1390047qgf.37.2014.12.11.08.12.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Dec 2014 08:12:39 -0800 (PST) Message-ID: <5489C276.7080009@gmail.com> Date: Thu, 11 Dec 2014 11:12:38 -0500 From: Josh Elser User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@accumulo.apache.org Subject: Re: Planning for (eventual) removal of instance.dfs.{uri,dir} References: <999388760.2391882.1418303736974.JavaMail.zimbra@comcast.net> <20141211154421.GB10400@ll.mit.edu> In-Reply-To: <20141211154421.GB10400@ll.mit.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You're building functions over the location of files in HDFS? Automated configuration of instances? Jeremy Kepner wrote: > 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 >>>>> >>>