Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E44218456 for ; Fri, 5 Feb 2016 09:55:47 +0000 (UTC) Received: (qmail 18307 invoked by uid 500); 5 Feb 2016 09:55:39 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 18224 invoked by uid 500); 5 Feb 2016 09:55:39 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 18214 invoked by uid 99); 5 Feb 2016 09:55:39 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2016 09:55:39 +0000 Received: from [192.168.1.108] (c-24-5-80-16.hsd1.ca.comcast.net [24.5.80.16]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id C29CE1A0278 for ; Fri, 5 Feb 2016 09:55:38 +0000 (UTC) User-Agent: Microsoft-MacOutlook/14.5.9.151119 Date: Fri, 05 Feb 2016 01:55:35 -0800 Subject: Re: Apache hive Thrift PHP From: Gopal Vijayaraghavan Sender: Gopal Vijayaraghavan To: "user@hive.apache.org" Message-ID: Thread-Topic: Apache hive Thrift PHP References: <4FFB660C13B5BC4DB7EA5AABC3348BAFB16179@XG.corp.vavni.com> In-Reply-To: <4FFB660C13B5BC4DB7EA5AABC3348BAFB16179@XG.corp.vavni.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit >I have configured hadoop2.7 and apache hive 1.2.1. I want to connect >Apache hive to php using thrift. That's likely to have a lot of pain due to the way different PHP SAPIs handle timeouts. The only place where the thrift API might work correctly is the CLI mode. >/usr/local/hive/lib/php/packages/hive_service/ThriftHive.php on line 2. I >tried to figure it out by correcting it but i get more errors after >correcting this. Any help for this would be appreciated. A better idea would be to run "mvn package thriftif" to regenerate those files with thrift-0.9.3.