[
https://issues.apache.org/jira/browse/HADOOP-10140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877041#comment-13877041
]
Chuan Liu commented on HADOOP-10140:
------------------------------------
Hey [[email protected]], I think HADOOP_CONF_DIR should be set
as YARN_CONF_DIR from my understanding of the code. In most cmd files including
yarn-conf.cmd, we will call hadoop-config.cmd. In hadoop-conf.cmd, we will set
HADOOP_CONF_DIR to the command line argument of "--config". Please let me know
if you see it differently.
> 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.5#6160)