为了账号安全,请及时绑定邮箱和手机立即绑定

python pyhive通过SSH隧道连接hive报错,求解

python pyhive通过SSH隧道连接hive报错,求解

UYOU 2018-08-10 20:35:32
python pyhive通过SSH隧道连接hive,报错内容为:Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: Unable to find a callback: 2'求教from sshtunnel import SSHTunnelForwarder from pyhive import hive server = SSHTunnelForwarder(     ssh_address_or_host = ('', 63007),     ssh_username="ngqi",     ssh_password="nyq",     remote_bind_address=('10.10.88.115',10000) ) server.start() conn_hive = hive.Connection(host='127.0.0.1', port=10000,username = 'songhj') server.stop()
查看完整描述

1 回答

?
叮当猫咪

TA贡献1776条经验 获得超12个赞

win系统难以解决

查看完整回答
反对 回复 2018-08-12
  • 1 回答
  • 0 关注
  • 919 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信