superset 连接 hive 教程
文章目录
正常操作
pip 安装 pyhive
https://pypi.org/project/PyHive/
正确 SQLAlchemy URI
hive://localhost:10000/default?auth=NONE
//localhost需要改成相应的IP
一开始使用 hive://localhost:10000/default?auth=NOSASL 出现错误
ERROR: {"error": "Connection failed!nnThe error message returned was:ncannot import name 'constants'"}
google下需要安装 pip install pythrifthiveapi 安装后重启出现错误
ERROR: {"error": "Connection failed!nnThe error message returned was:nTSocket read 0 bytes"}
改成使用 hive://localhost:10000/default?auth=NONE 就OK

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论