[
https://issues.apache.org/jira/browse/MAPREDUCE-3038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108090#comment-13108090
]
Jeffrey Naisbitt commented on MAPREDUCE-3038:
---------------------------------------------
It looks like I caused this by removing the method. I think the correct
solution is to fix the addController method in Router.java so it does the
reflection correctly though - rather than adding the method back in to the
HsController since it already inherits it. addController currently does not
look at inherited methods. Additionally, it seems like we could just do a
getMethod and get rid of the loop through all the methods to get better
speed/efficiency/clarity.
> job history server not starting because conf() missing HsController
> -------------------------------------------------------------------
>
> Key: MAPREDUCE-3038
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3038
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Thomas Graves
> Assignee: Jeffrey Naisbitt
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3038.java
>
>
> Exception starting history server.
> Sep 19, 2011 6:51:53 PM com.google.inject.MessageProcessor visit
> INFO: An exception was caught and reported. Message:
> org.apache.hadoop.yarn.webapp.WebAppException: conf() not found in class
> org.apache.hadoop.mapreduce.v2.hs.webapp.HsController
>
> org.apache.hadoop.yarn.webapp.WebAppException: conf() not found in class
> org.apache.hadoop.mapreduce.v2.hs.webapp.HsController
> at org.apache.hadoop.yarn.webapp.Router.addController(Router.java:107)
> at org.apache.hadoop.yarn.webapp.Router.add(Router.java:83)
> at org.apache.hadoop.yarn.webapp.WebApp.route(WebApp.java:140)
> at org.apache.hadoop.yarn.webapp.WebApp.route(WebApp.java:146)
> at
> org.apache.hadoop.mapreduce.v2.hs.webapp.HsWebApp.setup(HsWebApp.java:42)
> at org.apache.hadoop.yarn.webapp.WebApp.configureServlets(WebApp.java:121)
> at
> com.google.inject.servlet.ServletModule.configure(ServletModule.java:45)
> at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
> at
> com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
> at com.google.inject.spi.Elements.getElements(Elements.java:101)
> at com.google.inject.InjectorShell$Builder.build(InjectorShell.java:135)
> at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:102)
> at com.google.inject.Guice.createInjector(Guice.java:92)
> at com.google.inject.Guice.createInjector(Guice.java:69)
> at com.google.inject.Guice.createInjector(Guice.java:59)
> at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:166)
> at
> org.apache.hadoop.mapreduce.v2.hs.HistoryClientService.initializeWebApp(HistoryClientService.java:138)
> at
> org.apache.hadoop.mapreduce.v2.hs.HistoryClientService.start(HistoryClientService.java:109)
> at
> org.apache.hadoop.yarn.service.CompositeService.start(CompositeService.java:68)
> at
> org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.main(JobHistoryServer.java:83)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira