1

我已经安装了 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 不起作用?

4

1 回答 1

0

以具有适当权限的非 root 用户身份运行 HDFS。这是一个包含更多细节的JIRA 。

于 2013-11-15T07:01:11.670 回答