hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gopal Vijayaraghavan <gop...@apache.org>
Subject Re: Apache hive Thrift PHP
Date Fri, 05 Feb 2016 09:55:35 GMT

>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.

<?php

namespace ;

looks very very broken to me.

Cheers,
Gopal



Mime
View raw message