Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76E1E1796F for ; Tue, 7 Apr 2015 02:56:22 +0000 (UTC) Received: (qmail 33278 invoked by uid 500); 7 Apr 2015 02:56:12 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 33239 invoked by uid 500); 7 Apr 2015 02:56:12 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 33224 invoked by uid 99); 7 Apr 2015 02:56:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 02:56:12 +0000 Date: Tue, 7 Apr 2015 02:56:12 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-3537) Create an explicit configuration option for replacing relative paths MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-3537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14482487#comment-14482487 ] Josh Elser commented on ACCUMULO-3537: -------------------------------------- Sounds great. Thanks for letting me know! > Create an explicit configuration option for replacing relative paths > -------------------------------------------------------------------- > > Key: ACCUMULO-3537 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3537 > Project: Accumulo > Issue Type: Sub-task > Reporter: Christopher Tubbs > Assignee: Christopher Tubbs > Fix For: 1.7.0 > > > {{instance.dfs.uri}} and {{instance.dfs.dir}} were deprecated in as part of ACCUMULO-2061, and were superseded by {{instance.volumes}}. > This was a little bit confusing, because users upgrading from previous versions would still have relative paths in their metadata. To interpret these relative paths, these deprecated properties must still be set. So, it's a bit confusing to have deprecated properties which are still required for functionality. > What we should do is explicitly create a way to replace these entries with absolute paths that does not depend on using deprecated properties. > A sensible location for this is {{instance.volumes.replacements}}. This field could have a special replacement, "RELATIVE", which replaces all relative paths with an explicit target volume. ACCUMULO-3007 ignored relative paths, but this issue proposes to handle them instead of ignore them. > These properties previously provided two functions: > # Create new files with absolute paths (only if instance.volumes is not set) > # Interpret old relative files (always) > The first function is replaced with {{instance.volumes}}. The second function is replaced by the proposed improvement to {{instance.volumes.replacements}} here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)