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()
慕数据4054703
精慕HU
相关分类