无法在纱线中启动资源管理器

时间:2015-02-11 11:19:01

标签: hadoop yarn resourcemanager

即使在格式化namenode之后,我在启动纱线群集时出现以下错误。

请建议如何解决此问题。

2015-02-11 06:18:09,694 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: registered UNIX signal handlers for [TERM, HUP, INT]
2015-02-11 06:18:09,995 FATAL org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Error starting ResourceManager
java.lang.NoSuchFieldError: RM_CONFIGURATION_FILES
        at org.apache.hadoop.yarn.LocalConfigurationProvider.getConfigurationInputStream(LocalConfigurationProvider.java:42)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:189)
        at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1039)
2015-02-11 06:18:10,001 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Transitioning to standby state
2015-02-11 06:18:10,001 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Transitioned to standby state
2015-02-11 06:18:10,001 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: SHUTDOWN_MSG:

1 个答案:

答案 0 :(得分:0)

您的纱线类路径可能包含损坏的罐子。尝试执行

yarn version

它应该显示“此命令是使用{PATH_TO} / hadoop-common- {hadoop_version} .jar”运行的。

如果它显示的是除hadoop-common.jar之外的其他jar,则可能必须将其从yarn class-path中删除