Ambari中superset-hive认证

连接方式

hive://hive:hive@ip:10000/default?auth=LDAP

hive://hive@ip:10000/default

hive://username:passwd@ip:port/db?auth=KERBEROS&kerberos_service_name=hive

安装

yum install gcc-c++ python-devel.x86_64 cyrus-sasl-devel.x86_64
cd /usr/hdp/3.1.4.0-315/superset/bin/
./pip3.6 install sasl
./pip3.6 install thrift_sasl
./pip3.6 install pyhive
./python3.6 >>from sqlalchemy.engine import create_engine >>engine = create_engine('hive://localhost:10000/default')

 

posted @ 2021-06-21 18:05  Wind_LPH  阅读(302)  评论(0编辑  收藏  举报