hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10140) Specification of HADOOP_CONF_DIR via the environment in hadoop_config.cmd
Date Tue, 17 Feb 2015 08:14:11 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14323864#comment-14323864
] 

Hudson commented on HADOOP-10140:
---------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #97 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/97/])
HADOOP-10140. Specification of HADOOP_CONF_DIR via the environment in hadoop_config.cmd. Contributed
by Kiran Kumar M R. (cnauroth: rev 67efab935e0366ff783cf2bbd2363da4ebb02772)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.cmd


> 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
>          Components: scripts
>    Affects Versions: 2.2.0
>         Environment: This Windows when using the "Command" processing as opposed to using
Bash from Cygwin.
>            Reporter: Ian Jackson
>            Assignee: Kiran Kumar M R
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-11508.patch
>
>
> 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.3.4#6332)

Mime
View raw message