Python连接hive报错Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available

Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found (code THRIFTTRANSPORT): TTransportException('Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found',)

解决:

yum install cyrus-sasl-plain cyrus-sasl-devel cyrus-sasl-gssapi  cyrus-sasl-md5   

参考博文:https://blog.csdn.net/u010916338/article/details/97283211

你可能感兴趣的:(hive,python)