hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devendra Vishwakarma (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-12982) WebHCat Templeton Server throwing java.lang.RuntimeException
Date Fri, 05 Feb 2016 07:02:39 GMT

     [ https://issues.apache.org/jira/browse/HIVE-12982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Devendra Vishwakarma resolved HIVE-12982.
-----------------------------------------
    Resolution: Fixed

> WebHCat Templeton Server throwing java.lang.RuntimeException
> ------------------------------------------------------------
>
>                 Key: HIVE-12982
>                 URL: https://issues.apache.org/jira/browse/HIVE-12982
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 1.2.1
>         Environment: Hive version - 1.2.1
> Linux s390x architecture
>            Reporter: Devendra Vishwakarma
>            Assignee: Devendra Vishwakarma
>            Priority: Blocker
>
> WebHCat Templeton Server is throwing 
> java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.

> [root@abcde ~]# curl -s 'http://<hostname>:50111/templeton/v1/status?user.name=<username>'
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
> <title>Error 503 java.lang.RuntimeException: Could not load wadl generators from
wadlGeneratorDescriptions.</title>
> </head>
> <body>
> <h2>HTTP ERROR: 503</h2>
> <p>Problem accessing /templeton/v1/status. Reason:
> <pre> java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.</pre></p>
> <hr /><i><small>Powered by Jetty://</small></i>
> </body>
> </html>
> Server logs -
> ===============
> java.lang.RuntimeException: Could not load wadl generators from wadlGeneratorDescriptions.
> 	at com.sun.jersey.api.wadl.config.WadlGeneratorConfig.createWadlGenerator(WadlGeneratorConfig.java:184)
> 	at com.sun.jersey.server.impl.wadl.WadlApplicationContextImpl.<init>(WadlApplicationContextImpl.java:92)
> 	at com.sun.jersey.server.impl.wadl.WadlFactory.init(WadlFactory.java:96)
> 	at com.sun.jersey.server.impl.application.RootResourceUriRules.initWadl(RootResourceUriRules.java:169)
> 	at com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(RootResourceUriRules.java:106)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1300)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:163)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:769)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:765)
> 	at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:765)
> 	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:760)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:489)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:319)
> 	at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609)
> 	at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:374)
> 	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:557)
> 	at javax.servlet.GenericServlet.init(GenericServlet.java:241)
> 	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:463)
> 	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:283)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
> 	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:770)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:261)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
> 	at org.apache.hive.hcatalog.templeton.Main.runServer(Main.java:205)
> 	at org.apache.hive.hcatalog.templeton.Main.run(Main.java:118)
> 	at org.apache.hive.hcatalog.templeton.Main.main(Main.java:266)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
> 	at java.lang.reflect.Method.invoke(Method.java:507)
> 	at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> Caused by: java.lang.RuntimeException: The resource 'resourcedoc.xml' does not exist.
> 	at com.sun.jersey.api.wadl.config.WadlGeneratorLoader.setProperty(WadlGeneratorLoader.java:203)
> 	at com.sun.jersey.api.wadl.config.WadlGeneratorLoader.loadWadlGenerator(WadlGeneratorLoader.java:139)
> 	at com.sun.jersey.api.wadl.config.WadlGeneratorLoader.loadWadlGeneratorDescriptions(WadlGeneratorLoader.java:114)
> 	at com.sun.jersey.api.wadl.config.WadlGeneratorConfig.createWadlGenerator(WadlGeneratorConfig.java:182)
> 	... 39 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message