Setting up YARN Cluster YARN uses the following environment variables: YARN_CONF_DIR HADOOP_CONF_DIR HADOOP_HOME