自己自学搭建hadoop集群,所有需要的包都安装了,JDK版本为1.8.0_181,hadoop版本为2.7.5,环境变量也都搭建好了,hadoop-env.sh文件也配置好了环境变量,但在启动hadoop集群时,启动HDFS模块出现错误:
如图:hadoop-env.sh文件配置好了环境变量
在运行start-dfs.sh时出现错误:
node02: Error: JAVA_HOME is not set and could not be found.
node03: Error: JAVA_HOME is not set and could not be found.
node01: ssh: Could not resolve hostname \357\273\277node01: Name or service not known
求各位大神帮助解答,万分感谢