Hadoop无法启动NodeManager

时间:2013-11-14 19:56:24

标签: hadoop yarn

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

1 个答案:

答案 0 :(得分:0)

以具有相应权限的非root用户身份运行HDFS。这是JIRA,其中包含更多详细信息。