python Hive连接问题

时间:2017-03-20 16:09:45

标签: python hive database-connection connectivity

我正在尝试将python与Hive连接,并且我在终端上收到以下消息:

Traceback (most recent call last):
File "eg.py", line 18, in <module>
database='default')

File "/home/ashok/.local/lib/python2.7/site-packages/pyhs2/__init__.py", line 6, in connect from .connections import Connection

File "/home/ashok/.local/lib/python2.7/site-packages/pyhs2/connections.py", line 7, in <module>
from cloudera.thrift_sasl import TSaslClientTransport
ImportError: No module named cloudera.thrift_sasl

即使做了一些谷歌工作,我也找不到答案。 帮助我。

0 个答案:

没有答案