HADOOP-14781. Clarify that HADOOP_CONF_DIR shouldn't actually be set in hadoop-env.sh

Signed-off-by: Andrew Wang <wang@apache.org>
This commit is contained in:
Allen Wittenauer 2017-08-29 10:10:56 -07:00
parent 0adc3a0533
commit 27359b7139
No known key found for this signature in database
GPG Key ID: E01B34FBE846DF38

View File

@ -58,10 +58,13 @@
# export HADOOP_HOME= # export HADOOP_HOME=
# Location of Hadoop's configuration information. i.e., where this # Location of Hadoop's configuration information. i.e., where this
# file is probably living. Many sites will also set this in the # file is living. If this is not defined, Hadoop will attempt to
# same location where JAVA_HOME is defined. If this is not defined # locate it based upon its execution path.
# Hadoop will attempt to locate it based upon its execution #
# path. # NOTE: It is recommend that this variable not be set here but in
# /etc/profile.d or equivalent. Some options (such as
# --config) may react strangely otherwise.
#
# export HADOOP_CONF_DIR=${HADOOP_HOME}/etc/hadoop # export HADOOP_CONF_DIR=${HADOOP_HOME}/etc/hadoop
# The maximum amount of heap to use (Java -Xmx). If no unit # The maximum amount of heap to use (Java -Xmx). If no unit