标签:soft bashrc 变量 path and hadoop pre com source
这种情况应该是hadoop的bin环境变量没有配置好
打开
gedit ~/.bashrc
修改
export HADOOP_HOME=/home/hadoop1/softwares/hadoop-2.7.3 export PATH=$PATH:$HADOOP_HOME/bin:$HADOOP_HOME/sbin
保存
source ~/.bashrc
bash: hadoop:command not found
标签:soft bashrc 变量 path and hadoop pre com source
原文地址:https://www.cnblogs.com/xym4869/p/8867169.html