正常操做
pip 安裝 pyhivegit
https://pypi.org/project/PyHive/github
正確 SQLAlchemy URIapache
hive://localhost:10000/default?auth=NONEapi
//localhost須要改爲相應的IPgoogle
一開始使用 hive://localhost:10000/default?auth=NOSASL 出現錯誤
ERROR: {"error": "Connection failed!nnThe error message returned was:ncannot import name 'constants'"}ip
google下須要安裝 pip install pythrifthiveapi 安裝後重啓出現錯誤get
ERROR: {"error": "Connection failed!nnThe error message returned was:nTSocket read 0 bytes"}
改爲使用 hive://localhost:10000/default?auth=NONE 就OKit