phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Soldatov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3391) Supporting Hive 2.1.0 in PhoenixStorageHandler
Date Wed, 02 Nov 2016 20:20:58 GMT

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

Sergey Soldatov commented on PHOENIX-3391:
------------------------------------------

[~Jeongdae Kim] Thank you for the patch! Apache Hive 2.1 was recently released and most of
the user are still using older versions. I think we have to postpone this fix and add note
to the Apache Phoenix documentation that if someone want to get it working with Apache Hive
2.1, they need to recompile Apache Phoenix with this fix.

> Supporting Hive 2.1.0 in PhoenixStorageHandler
> ----------------------------------------------
>
>                 Key: PHOENIX-3391
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3391
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.8.0
>            Reporter: Jeongdae Kim
>            Assignee: Jeongdae Kim
>            Priority: Minor
>              Labels: HivePhoenix
>         Attachments: PHOENIX-3391.patch
>
>
> Hive with PhoenixStorageHandler throws TException when executing select statement as
following. the reason is that some hive public interface is changed (ColumnProjectionUtils.getReadColumnNames()),
so hive throws NoSuchMethodError in PhoenixInputFormat class.
> org.apache.thrift.transport.TTransportException
> 	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
> 	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
> 	at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
> 	at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
> 	at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
> 	at org.apache.thrift.transport.TSaslClientTransport.read(TSaslClientTransport.java:37)
> 	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
> 	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
> 	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
> 	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
> 	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:77)
> 	at org.apache.hive.service.rpc.thrift.TCLIService$Client.recv_FetchResults(TCLIService.java:559)
> 	at org.apache.hive.service.rpc.thrift.TCLIService$Client.FetchResults(TCLIService.java:546)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hive.jdbc.HiveConnection$SynchronizedHandler.invoke(HiveConnection.java:1426)
> 	at com.sun.proxy.$Proxy16.FetchResults(Unknown Source)
> 	at org.apache.hive.jdbc.HiveQueryResultSet.next(HiveQueryResultSet.java:372)



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

Mime
View raw message