Hello,

I have configured hadoop2.7 and apache hive 1.2.1. I want to connect Apache  
hive to php using thrift. I have followed 
https://cwiki.apache.org/confluence/display/Hive/HiveClient#HiveClient-PHP this 
tutorial and i get connection successful but there is a syntax error. Error 
which i am facing is  Parse error: syntax error, unexpected ';', expecting 
identifier (T_STRING) or \\ (T_NS_SEPARATOR) or '{' in 
/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.

Thank you...

Reply via email to