我现在已经在独立模式下设置了hadoop和yarn . 我试图开始纱线的所有过程 . 除nodemanager外,所有进程都已启动 . 它每次都抛出jvm错误 .
[root@ip-10-100-223-16 hadoop-0.23.7]# sbin/yarn-daemon.sh start nodemanager
starting nodemanager, logging to /root/hadoop-0.23.7/logs/yarn-root-nodemanager-ip-10-100-223-16.out
Unrecognized option: -jvm
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
可能是什么问题?任何帮助表示赞赏 .
1 回答
以下链接有针对上述问题的补丁:https://issues.apache.org/jira/browse/MAPREDUCE-3879
在 bin/yarn 脚本中,我们需要评论以下几行 . 这里 :
'-' : shows removal of lines '+' : shows addition of lines
上面的补丁可在this位置获得 .
礼貌LorandBendig帮助我 .