hadoop启动守护进程报JAVA_HOME is not set and could not be found

hadoop启动守护进程
sbin/start-dfs.sh
报如下错误:
JAVA_HOME is not set and could not be found

解决办法(JAVA_HOME修改为具体的路径):
vim etc/hadoop/hadoop-env.sh

 

posted on 2016-06-27 11:51  peng.zhang  阅读(356)  评论(0编辑  收藏  举报

导航