大家好,我自己搭建的开源伪分布式hadoop集群目前在开启服务的时候,ResourceManager 服务开启总是失败,导致mr任务无法正常执行。报错如下:
2018-05-23 13:44:43,519 INFO org.apache.hadoop.yarn.server.resourcemanager.rmnode.RMNodeImpl: master:55815 Node Transitioned from NEW
to RUNNING
2018-05-23 13:44:43,561 FATAL org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Error in handling event type NODE_ADDED
to the scheduler
java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/nodelabels/CommonNodeLabelsManager$Label
at org.apache.hadoop.yarn.server.resourcemanager.nodelabels.RMNodeLabelsManager.updateResourceMappings(RMNodeLabelsManager.ja
va:385)
at org.apache.hadoop.yarn.server.resourcemanager.nodelabels.RMNodeLabelsManager.activateNode(RMNodeLabelsManager.java:200)
at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.addNode(CapacityScheduler.java:1123)
at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.handle(CapacityScheduler.java:1034)
at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.handle(CapacityScheduler.java:114)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$SchedulerEventDispatcher$EventProcessor.run(ResourceManager.
java:680)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.yarn.nodelabels.CommonNodeLabelsManager$Label
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more
2018-05-23 13:44:43,581 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Exiting, bbye..
2018-05-23 13:44:43,679 ERROR org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager: ExpiredTokenRemover r
eceived java.lang.InterruptedException: sleep interrupted
hadoop version : Hadoop 2.7.3
涉及的包hadoop-yarn-common-2.7.3.jar 版本与hadoop版本保持一致。
感觉包的版本没什么问题,有谁知道要怎么解决
|
|