Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB38B17B0C for ; Tue, 14 Apr 2015 06:21:12 +0000 (UTC) Received: (qmail 99016 invoked by uid 500); 14 Apr 2015 06:21:12 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 98966 invoked by uid 500); 14 Apr 2015 06:21:12 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 98954 invoked by uid 99); 14 Apr 2015 06:21:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2015 06:21:12 +0000 Date: Tue, 14 Apr 2015 06:21:12 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-9642) Configuration to resolve environment variables via ${env.VARIABLE} references 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/HADOOP-9642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HADOOP-9642: ------------------------------------- Resolution: Fixed Fix Version/s: 3.0.0 Status: Resolved (was: Patch Available) +1 lgtm. committed to trunk. Thanks! > Configuration to resolve environment variables via ${env.VARIABLE} references > ----------------------------------------------------------------------------- > > Key: HADOOP-9642 > URL: https://issues.apache.org/jira/browse/HADOOP-9642 > Project: Hadoop Common > Issue Type: New Feature > Components: conf, scripts > Affects Versions: 3.0.0, 2.1.0-beta > Reporter: Steve Loughran > Assignee: Kengo Seki > Priority: Minor > Fix For: 3.0.0 > > Attachments: HADOOP-9642.001.patch, HADOOP-9642.002.patch > > > We should be able to get env variables from Configuration files, rather than just system properties. I propose using the traditional {{env}} prefix {{${env.PATH}}} to make it immediately clear to people reading a conf file that it's an env variable -and to avoid any confusion with system properties and existing configuration properties. -- This message was sent by Atlassian JIRA (v6.3.4#6332)