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‘)
原文:https://www.cnblogs.com/wind-man/p/14915002.html