我安装了Hadoop集群,它是hadoop 0.23.9版本。我安装了HDFS-1943.patch,现在我可以启动所有的namenode和datanode。 (start-dfs.sh正在为我工作)
但是,当我想启动yarn守护程序(运行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不起作用?