尝试创建与 HiveServer 的连接时出现以下错误
Traceback (most recent call last):
File "/Users/user_name/Desktop/ABCo/EEM/EntityManagement/lodurr/data_lake/hive_db.py", line 56, in wrapper
auth_mechanism='PLAIN')
File "/Users/user_name/.virtualenvs/entity1/lib/python3.6/site-packages/impala/dbapi.py", line 147, in connect
auth_mechanism=auth_mechanism)
File "/Users/user_name/.virtualenvs/entity1/lib/python3.6/site-packages/impala/hiveserver2.py", line 758, in connect
transport.open()
File "/Users/user_name/.virtualenvs/entity1/lib/python3.6/site-packages/thrift_sasl/__init__.py", line 67, in open
if not self._trans.isOpen():
这些是我做 pip list 时安装的包
- 六(1.11.0)
- 节俭(0.3.9)
- 节俭-sasl (0.3.0)
- 萨斯尔 (0.2.1)
- impyla (0.14.0)
我正在使用 macOS High Sierra 作为我的开发环境