hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5127) Upgrade xerces and xalan for WebHCat
Date Fri, 13 Sep 2013 18:25:52 GMT

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

Eugene Koifman updated HIVE-5127:
---------------------------------

    Fix Version/s: 0.13.0
    
> Upgrade xerces and xalan for WebHCat
> ------------------------------------
>
>                 Key: HIVE-5127
>                 URL: https://issues.apache.org/jira/browse/HIVE-5127
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 0.12.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>             Fix For: 0.12.0, 0.13.0
>
>         Attachments: HIVE-5127.patch
>
>
> Currently webhcat log files are full of exceptions like this, which obscures the real
output and may cause perf issues.
> Upgrading to more recent versions of xerces/xalan fixes this.
> Add the following to hive/hcatalog/webhcat/svr/pom.xml
>         <dependency>
>             <groupId>xerces</groupId>
>             <artifactId>xercesImpl</artifactId>
>             <version>2.9.1</version>
>         </dependency>
>         <dependency>
>             <groupId>xalan</groupId>
>             <artifactId>xalan</artifactId>
>             <version>2.7.1</version>
>         </dependency>
> 13/08/20 16:54:04 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for
parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@48dbb335:java.lang.UnsupportedOperationException:
This parser does not support specification "null" version "null"
> java.lang.UnsupportedOperationException: This parser does not support specification "null"
version "null"
>         at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
>         at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1892)
>         at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1861)
>         at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1778)
>         at org.apache.hadoop.conf.Configuration.get(Configuration.java:870)
>         at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:171)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:305)
>         at org.apache.hadoop.fs.FileSystem.getLocal(FileSystem.java:288)
>         at org.apache.hadoop.util.GenericOptionsParser.validateFiles(GenericOptionsParser.java:383)
>         at org.apache.hadoop.util.GenericOptionsParser.processGeneralOptions(GenericOptionsParser.java:281)
>         at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:422)
>         at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:168)
>         at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:151)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:64)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>         at org.apache.hcatalog.templeton.LauncherDelegator$1.run(LauncherDelegator.java:99)
>         at org.apache.hcatalog.templeton.LauncherDelegator$1.run(LauncherDelegator.java:95)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1441)
>         at org.apache.hcatalog.templeton.LauncherDelegator.queueAsUser(LauncherDelegator.java:95)
>         at org.apache.hcatalog.templeton.LauncherDelegator.enqueueController(LauncherDelegator.java:77)
>         at org.apache.hcatalog.templeton.JarDelegator.run(JarDelegator.java:52)
>         at org.apache.hcatalog.templeton.StreamingDelegator.run(StreamingDelegator.java:53)
>         at org.apache.hcatalog.templeton.Server.mapReduceStreaming(Server.java:596)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
>         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
>         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1480)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1411)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1360)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1350)
>         at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1360)
>         at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:384)
>         at org.apache.hadoop.hdfs.web.AuthFilter.doFilter(AuthFilter.java:85)
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>         at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
>         at org.eclipse.jetty.server.Server.handle(Server.java:349)
>         at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)
>         at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:925)
>         at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)
>         at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>         at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
>         at java.lang.Thread.run(Thread.java:680)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message