Qihoo360 / hbox

AI on Hadoop
Apache License 2.0
1.73k stars 385 forks source link

运行demo时报错 #13

Closed fjibj closed 5 months ago

fjibj commented 6 years ago

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.yarn.webapp.WebApps$Builder.build(Lorg/apache/hadoop/yarn/webapp/WebApp;)Lorg/apache/hadoop/yarn/webapp/WebApp; at net.qihoo.xlearning.AM.ApplicationWebService.start(ApplicationWebService.java:35) at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120) at net.qihoo.xlearning.AM.ApplicationMaster.init(ApplicationMaster.java:217) at net.qihoo.xlearning.AM.ApplicationMaster.main(ApplicationMaster.java:1245)

dailong commented 6 years ago

这是hadoop 版本问题,2.6及以下没有build 方法