发现 HADOOP_CONF_DIR YARN_CONF_DIR没有配置,
新增配置
vim ~/.bashrc
export HADOOP_CONF_DIR=/usr/local/hadoop-2.6.1/etc/hadoop
export YARN_CONF_DIR=/usr/local/hadoop-2.6.1/etc/hadoop
使配置生效
source ~/.bashrc
发现 HADOOP_CONF_DIR YARN_CONF_DIR没有配置,
新增配置
vim ~/.bashrc
export HADOOP_CONF_DIR=/usr/local/hadoop-2.6.1/etc/hadoop
export YARN_CONF_DIR=/usr/local/hadoop-2.6.1/etc/hadoop
使配置生效
source ~/.bashrc