我已经安装了 Hadoop 集群,它是 hadoop 0.23.9 版本。我安装了 HDFS-1943.patch,现在我可以启动所有的 namenode 和 datanode。(start-dfs.sh 为我工作)
但是,当我想启动 yarn daemons (running start-yarn.sh) 时,它会显示与之前发生的相同的以下错误:
[root@dbnode1 sbin]# ./start-yarn.sh
starting yarn daemons
starting resourcemanager, logging to /home/hchen/hadoop-0.23.9/logs/yarn-root- resourcemanager-dbnode1.out
datanode: starting nodemanager, logging to /home/hchen/hadoop-0.23.9/logs/yarn-root-nodemanager-dbnode2.out
datanode: Unrecognized option: -jvm
datanode: Error: Could not create the Java Virtual Machine.
datanode: Error: A fatal exception has occurred. Program will exit.
我已经安装了补丁并且 start-dfs.sh 正在为我工作。为什么 start-yarn.sh 不起作用?