Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 187B6200BDE for ; Tue, 8 Nov 2016 03:43:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 173B1160B10; Tue, 8 Nov 2016 02:43:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6899E160AEC for ; Tue, 8 Nov 2016 03:43:04 +0100 (CET) Received: (qmail 54602 invoked by uid 500); 8 Nov 2016 02:42:58 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 54338 invoked by uid 99); 8 Nov 2016 02:42:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2016 02:42:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6FDC72C0D55 for ; Tue, 8 Nov 2016 02:42:58 +0000 (UTC) Date: Tue, 8 Nov 2016 02:42:58 +0000 (UTC) From: "Jeongdae Kim (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-3391) Supporting Hive 2.1.0 in PhoenixStorageHandler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 08 Nov 2016 02:43:05 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15646239#comment-15646239 ] Jeongdae Kim commented on PHOENIX-3391: --------------------------------------- I agree with your opinions. [~sergey.soldatov] Could you review new patch that includes new method that is copied from hive, to support all versions of Hive. > 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.2.patch, 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)