Details
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-11508 HADOOP_CONF_DIR is ignored in Windows and always set to %HADOOP_HOME%/etc/hadoop
- Resolved