hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Naisbitt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3038) job history server not starting because conf() missing HsController
Date Mon, 19 Sep 2011 19:30:09 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-3038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108083#comment-13108083
] 

Jeffrey Naisbitt commented on MAPREDUCE-3038:
---------------------------------------------

It looks to me like Router.java is using reflection incorrectly and not checking whether the
method was inherited.  It's manually throwing that exception if the method is not found in
that class.

> 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: Thomas Graves
>            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

        

Mime
View raw message