Hdoop 启动:localhost: Error: JAVA_HOME is not set and could not be found.
来源:互联网 发布:js获取input file的流 编辑:程序博客网 时间:2024/06/06 04:10
参考教程:
http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html
其中有
Prepare to Start the Hadoop Cluster
Unpack the downloaded Hadoop distribution. In the distribution, edit
the file etc/hadoop/hadoop-env.sh to define some parameters as
follows:
export JAVA_HOME=/usr/java/latest
(原来是${JAVA_HOME},把这个改为相应的jdk真实路劲)
Try the following command:
bin/hadoop
This will display the usage documentation for the
hadoop script.
自己不按照文档说的来,因为在shell脚本中一般$${JAVA_HOME} 或者$JAVA_HOME
都是取变量的值,然后左边又有=等号,所以就自作聪明的认为没有必要了!
关于环境相关,以后还是就按照官方的来吧。。。。
现在还有极大的可能是,JAVA_HOME没有被 export
阅读全文
0 0
- Hdoop 启动:localhost: Error: JAVA_HOME is not set and could not be found.
- Error:JAVA_HOME is not set and could not be found
- Hadoop2.7启动报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解决办法
- 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
- 伪分布式启动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
- 启动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
- Ubuntu14.0 下Hadoop启动报Error: JAVA_HOME is not set and could not be found解决办法
- php获取文件大小封装函数
- ThinkJS 简介
- 顺序栈实现
- 如何使用CSDN-markdown编辑器
- java鬼混笔记:springboot 1、第一个springboot项目例子
- Hdoop 启动:localhost: Error: JAVA_HOME is not set and could not be found.
- 洛谷10月月赛R1·浴谷八连测R1·提高组 T3
- BZOJ1503: [NOI2004]郁闷的出纳员
- pandas基本操作,小锦囊一个
- JavaScript02-页面布局
- python绘制神经网络中的Sigmoid和Tanh激活函数图像(附代码)
- Docker容器间的网络通信
- 原生JS添加节点方法与jQuery添加节点方法的比较及总结
- HashCode和equals方法如何决定对象能否存入Hash容器中