You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Shivram Mani (JIRA)" <ji...@apache.org> on 2016/04/05 02:35:26 UTC

[jira] [Closed] (HAWQ-615) PXF getMetadata endpoint fails if set of items described by passed pattern have unsupported by Hawq Hive objects

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

Shivram Mani closed HAWQ-615.
-----------------------------

> PXF getMetadata endpoint fails if set of items described by passed pattern have unsupported by Hawq Hive objects
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HAWQ-615
>                 URL: https://issues.apache.org/jira/browse/HAWQ-615
>             Project: Apache HAWQ
>          Issue Type: Sub-task
>          Components: Hcatalog, PXF
>            Reporter: Oleksandr Diachenko
>            Assignee: Shivram Mani
>             Fix For: 2.0.0
>
>
> STR:
> 1) Hive instance having at least one view object
> 2) Read metadata from PXF using wildcard as a pattern: http://localhost:51200/pxf/v14/Metadata/getMetadata?profile=hive&pattern=*
> AR:
> {code}
> java.lang.UnsupportedOperationException: Hive views are not supported by HAWQ
> 	org.apache.hawq.pxf.plugins.hive.utilities.HiveUtilities.getHiveTable(HiveUtilities.java:79)
> 	org.apache.hawq.pxf.plugins.hive.HiveMetadataFetcher.getMetadata(HiveMetadataFetcher.java:67)
> 	org.apache.hawq.pxf.service.rest.MetadataResource.read(MetadataResource.java:107)
> 	sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
> 	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	java.lang.reflect.Method.invoke(Method.java:606)
> 	com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> 	com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
> 	com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> 	com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
> 	com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> 	com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
> 	com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> 	com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
> 	com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
> 	com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
> 	com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
> 	com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
> 	com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
> 	com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
> 	com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> 	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> {code}
> ER:
> Response should contain set of items which are supported.



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