首页> 开发问题 >其它问题 其它问题
bash: hadoop:command not found
作者:小萝卜 2019-12-10 【 其它 】 浏览 1343
简介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)
相关文章
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- pycharm无法识别自己的文件夹的程序
- 心路历程——毕设程序mr跑不通的问题
- MapReduce报错:Error: java.io.IOException: Initialization of all the collectors failed. Error in last collector was :interface javax.xml.soap.Text
- Unreachable statement
- Maven C盘用户文件下没有.m2
- Java compiler level does not match the version of the installed Java project facet
- windows10 onenote 显示英文 怎么办?
- VMWARE虚拟机安装64位系统此主机支持IntelVTx 但IntelVTx处于禁用状态
- 报错:maven:java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets