CentOS hadoop启动错误 JAVA_HOME is not set and could not be found
来源:互联网 发布:公共软件服务包括什么 编辑:程序博客网 时间:2024/05/16 08:24
...
Starting namenodes on []
localhost: Error: JAVA_HOME is not set and could not be found.localhost: Error: JAVA_HOME is not set and could not be found.
...
starting yarn daemons
starting resourcemanager, logging to /home/lihanhui/open-source/hadoop-2.1.0-beta/logs/yarn-admin-resourcemanager-localhost.out
localhost: Error: JAVA_HOME is not set and could not be found.
直接命令行执行export JAVA_HOME=/PATH/TO/JDK无法解决问题
grep命令发现libexec/hadoop-config.sh文件中有错误提示中的黑体字,于是在对应位置前直接设置export JAVA_HOME=/PATH/TO/JDK
错误消失。
hadoop版本:hadoop-2.1.0-beta
- CentOS hadoop启动错误 JAVA_HOME is not set and could not be found
- CentOS hadoop启动错误 JAVA_HOME is not set and could not be found
- hadoop启动错误 JAVA_HOME is not set and could not be found
- Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- ubuntu Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- Hadoop安装完后,启动时报Error: JAVA_HOME is not set and could not be found
- hadoop 启动 JAVA_HOME is not set and could not be found
- Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- 启动hadoop,报错Error JAVA_HOME is not set and could not be found
- 启动hadoop,报错Error JAVA_HOME is not set and could not be found
- Error: JAVA_HOME is not set and could not be found 启动hadoop报错
- JAVA_HOME is not set and could not be found.
- hadoop2 JAVA_HOME is not set and could not be found
- JAVA_HOME is not set and could not be found
- Error:JAVA_HOME is not set and could not be found
- AWK工具详解
- Sax,Pull,Dom解析
- vim学习笔记一(环境配置及编译文件)
- log
- Struts使用Sitemesh框架
- CentOS hadoop启动错误 JAVA_HOME is not set and could not be found
- 关于OSPF末梢区域
- java sdkee 安装
- 总结了Struts1与Struts2的11点区别
- C++中类的静态数据成员解析
- Hdu 4706 Children's Day
- <下拉框实现、一> - SAP ABAP 报表选择屏幕下拉框的实现
- 终于解决ECSHOP的购物车自动清空问题,改善会员体验
- mongoDB 查询操作