PyHive
PyHive copied to clipboard
TTransportException: Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: Unable to find a callback: 2'
Hi , I am trying connect Hive server 2 using PyHive using the below code conn = hive.Connection(host='host', port=port, username='id', password='paswd',auth='LDAP',database = 'default') and it generate error below.
File "C:\Users\userabc\AppData\Local\Continuum\Anaconda3\lib\site-packages\thrift_sasl_init_.py", line 79, in open message=("Could not start SASL: %s" % self.sasl.getError()))
TTransportException: Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: Unable to find a callback: 2'.
Could you please let me know how to fix this issue.
Have you solved it?
Did you solved the issue @DrYoonus @weihanhua . Even iam facing same issue.
no
weihanhua From: Myla RamReddy Date: 2020-01-30 21:23 To: dropbox/PyHive CC: weihanhua; Mention Subject: Re: [dropbox/PyHive] TTransportException: Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: Unable to find a callback: 2' (#286) Did you solved the issue @DrYoonus @weihanhua — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
https://blog.csdn.net/weixin_42493346/article/details/104261878 我用这个办法解决了,你们不妨一试
Has any body been able to get past this issue?
no
https://blog.csdn.net/weixin_42493346/article/details/104261878 我用这个办法解决了,你们不妨一试
谢谢,解决了,这里我引用出来:
yum install cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-plain cyrus-sasl-md5 -y
https://blog.csdn.net/weixin_42493346/article/details/104261878 我用这个办法解决了,你们不妨一试
谢谢,解决了,这里我引用出来:
yum install cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-plain cyrus-sasl-md5 -y
Yeah, It works on CentOS 7.