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')
有朝一日同风起,扶摇直上九万里