无法在中启动资源管理器

zed5wv10  于 2021-06-03  发布在  Hadoop
关注(0)|答案(1)|浏览(582)

即使在格式化namenode之后,在启动yarn集群时也会出现以下错误。
请建议如何解决这个问题。

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:
628mspwn

628mspwn1#

您的类路径可能包含损坏的jar。尝试执行 yarn version 它应该显示“这个命令是使用{path\u to}/hadoop common-{hadoop\u version}.jar运行的”
如果它显示的jar不是hadoop-common.jar,那么您可能需要将其从yarn类路径中删除

相关问题