Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 1BECA108AC for ; Mon, 2 Dec 2013 22:56:38 +0000 (UTC) Received: (qmail 21767 invoked by uid 500); 2 Dec 2013 22:56:35 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 21669 invoked by uid 500); 2 Dec 2013 22:56:35 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 21607 invoked by uid 99); 2 Dec 2013 22:56:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 22:56:35 +0000 Date: Mon, 2 Dec 2013 22:56:35 +0000 (UTC) From: "Ian Jackson (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-10140) Specification of HADOOP_CONF_DIR via the environment in hadoop_config.cmd MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ian Jackson created HADOOP-10140: ------------------------------------ Summary: Specification of HADOOP_CONF_DIR via the environment in hadoop_config.cmd Key: HADOOP-10140 URL: https://issues.apache.org/jira/browse/HADOOP-10140 Project: Hadoop Common Issue Type: Improvement Affects Versions: 2.2.0 Environment: This Windows when using the "Command" processing as opposed to using Bash from Cygwin. Reporter: Ian Jackson Priority: Minor It would be nice if HADOOP_CONF_DIR could be set in the environment like YARN_CONF_DIR. This could be done in lib-exec/hadoop.cmd by setting HADOOP_CONF_DIR conditionally. Using the Windows command shell, the modification would be as follows: if not defined HADOOP_CONF_DIR ( set HADOOP_CONF_DIR=%HADOOP_HOME%\etc\hadoop ) This would allow the Hadoop configuration to be placed in ProgramData more easily. -- This message was sent by Atlassian JIRA (v6.1#6144)