Hadoop - Environment variable

Yarn Hortonworks



environment variable for the daemon can be modified in the following files

  • hadoop-env.sh
  • yarn-env.sh
  • mapred-env.sh

hadoop-user-functions.sh allows for advanced users to override some shell functionality

~/.hadooprc stores the personal environment for an individual user. It is processed after the hadoop-env.sh and hadoop-user-functions.sh files and can contain the same settings.


From the command line:

hadoop envvars

Discover More
Yarn Hortonworks
Hadoop - Configuration (HADOOP_CONF_DIR)

The Hadoop configuration has two entry point: and HADOOP_CONF_DIR is the environment variable that set the directory location. Default is: Example: From the command line: Hadoop configuration...

Share this page:
Follow us:
Task Runner