首页> 开发问题 >其它问题 其它问题
bash: hadoop:command not found
作者:小萝卜 2019-12-10 【 其它 】 浏览 1631
简介bash: hadoop:command not found
这种情况应该是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
很赞哦! (0)
相关文章
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- idea maven 报-source 1.5 中不支持 diamond 运算符
- MapReduce报错:Error: java.io.IOException: Initialization of all the collectors failed. Error in last collector was :interface javax.xml.soap.Text
- tf.matmul()报错expected scalar type Float but found Double
- Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference
- Python问题:SyntaxError: Non-ASCII character '\xe2' in file
- windows10 onenote 显示英文 怎么办?
- datagrid MAC和VPNIP显示不出来,Time显示错误的问题
- 无法定位程序输入点到xxx.dll
- matlab命令行双箭头消失
