我在Ubuntu 16.04上安装了Hadoop 2.7.2。当我运行命令时:
start-yarn.sh
它提供以下输出:
启动纱线守护进程 /usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh:line 122:rt:command not found 启动resourcemanager,登录到/usr/local/hadoop-2.7.2/logs/yarn-hduser-resourcemanager-brij-Compaq-15-Notebook-PC.out /usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh:line 122:rt:command not found localhost:/usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh:line 122:rt:command not found localhost:启动nodemanager,登录到/usr/local/hadoop-2.7.2/logs/yarn-hduser-nodemanager-brij-Compaq-15-Notebook-PC.out localhost:/usr/local/hadoop-2.7.2/etc/hadoop/yarn-env.sh:line 122:rt:command not found
我只是对最后一行
感到好奇yarn-env.sh : 没有找到指令。
我应该担心吗?或者我做错了什么导致了这个错误?
答案 0 :(得分:1)
抱歉,我弄清楚了我的错误。我已将export
替换为
rt
bashrc中
错误。我已经纠正了它,现在它正在工作