I have been researching for a week now on how to use the PHP hive
client.
https://cwiki.apache.org/confluence/display/Hive/HiveClient#HiveClient-PHP
but the |$GLOBALS||[||'THRIFT_ROOT'||] = ||'/lib/php/'||; is broken.
|one thing is the autoloader is no generated properly. second
packages/hive_service/ThriftHive.php' has namespace; at the top so a
namesapce is not even defined.
Third if I just start indlucing files instead of using the autoloader I
get error " Fatal error: Class 'Thrift\Exception\TException' not found
in /lib/php/packages/hive_metastore/metastore/Types.php on line 4891"
even though the file is included.

Any one know how to resolve these issues?


On 03/17/2014 11:45 AM, Jeremy wrote:
> I am trying to use the php hive thift client and there is name space and
> autoload issues.
> Autoload is not generated and I have not found any instructions how to
> properly generate it.
> Also some files contain namespace; which is a syntax issue.
> Is any one aware of these issues and know how to fix them?
>
>

Reply via email to