python3 test.py Traceback (most recent call last): File "test.py", line 15, in <module> 'mapreduce.job.queuename':'root.production.miot_group.test.data'# 队列 File "/home/hadoop/.local/lib/python3.6/site-packages/pyhive/hive.py", line 104, in connect return Connection(*args, **kwargs) File "/home/hadoop/.local/lib/python3.6/site-packages/pyhive/hive.py", line 243, in __init__ self._transport.open() File "/home/hadoop/.local/lib/python3.6/site-packages/thrift_sasl/__init__.py", line 85, inopen message=("Could not start SASL: %s" % self.sasl.getError())) thrift.transport.TTransport.TTransportException: Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found'
thrift.transport.TTransport.TTransportException: Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found'