分享

hadoop-2.6.0-cdh5.9.3编译后启动报错

ResourceManager启动不起来


org.apache.hadoop.service.AbstractService: Service ResourceManager failed in state STARTED; cause: org.apache.hadoop.yarn.webapp.WebAppException: Error starting http server
org.apache.hadoop.yarn.webapp.WebAppException: Error starting http server
        at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:279)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.startWepApp(ResourceManager.java:1001)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:1101)
        at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1240)
Caused by: java.io.FileNotFoundException: webapps/cluster not found in CLASSPATH
        at org.apache.hadoop.http.HttpServer2.getWebAppsPath(HttpServer2.java:826)
        at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:369)
        at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:108)
        at org.apache.hadoop.http.HttpServer2$Builder.build(HttpServer2.java:315)
        at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:261)
        ... 4 more

已有(2)人评论

跳转到指定楼层
NEOGX 发表于 2018-6-14 05:49:25
jdk版本多少,hadoop2.6好像只支持JDK1.6左右版本
不同的组件版本jdk可能不一致。全局一个jdk可能造成这个问题

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条