我使用的是Ubuntu 22.04 PC,安装了DJK 17、Java 11、Hadoop 3.3.6
```bash
cd hadoop/hadoop-3.3.6/sbin
./start-all.sh
产出:
WARNING: Attempting to start all Apache Hadoop daemons as u22 in 10 seconds.
WARNING: This is not a recommended production deployment configuration.
WARNING: Use CTRL-C to abort.
Starting namenodes on [localhost]
Starting datanodes
Starting secondary namenodes [sdb5]
Starting resourcemanager
Starting nodemanagers
但jps命令显示RM未启动。
jps
产出:
28968 NameNode
29322 SecondaryNameNode
29101 DataNode
31038 Jps
`And the hadoop-u22-resourcemanager-sdb5.log is which contains many lines. so i used justpaste.it and the log is in this link [justpaste.it](https://jpst.it/3og2N)`
1条答案
按热度按时间5tmbdcev1#
您的错误输出是说您正在使用Java 17,Hadoop不支持。
请将JAVA_HOME环境变量设置为Java 11安装再试一次