You can get some guys did on https://github.com/search?utf8=%E2%9C%93&q=php+thrift+hive
When you try to access Hive2 without SASL. you may met following alerts:
TTransportException’ with message ‘TSocket: timed out reading 67108844 bytes from
Try add following lines to /etc/hive/conf/hive-site.xml
Client authentication types.
NONE: no authentication check
LDAP: LDAP/AD based authentication
KERBEROS: Kerberos/GSSAPI authentication
CUSTOM: Custom authentication provider
(Use with property hive.server2.custom.authentication.class)
</description> </property> Notes: NOSASL not equal NONE. NONE is default and means Plain SASL.