如何与kerberos配置单元和超集集成?

时间:2019-02-28 17:56:51

标签: hive kerberos apache-superset

` 我使用HDP 3.0.1集群,我的python版本是3.7,我想将蜂巢与超集集成,我的集群是kerberized集群,但是我会出现错误?

hive://hive@xxxxxxxxx.xxx.xxx.10001/default?auth = KERBEROS&kerberos_service_name = hive

AUTH_LDAP_BIND_PASSWORD='xxxx'
AUTH_LDAP_BIND_USER='xxxx'
AUTH_LDAP_SEARCH='xxxxx'
AUTH_LDAP_SERVER='xxxxxx'
AUTH_TYPE=2
ENABLE_KERBEROS_AUTHENTICATION=True
ENABLE_PROXY_FIX=True
KERBEROS_KEYTAB='/etc/security/keytabs/superset.headless.keytab'
KERBEROS_PRINCIPAL='superset-hcdl_dev@xxxxxL.COM'
KERBEROS_REINIT_TIME_SEC=3600``
MAPBOX_API_KEY=''
ROW_LIMIT=5000
SECRET_KEY='SuperSecr123'
SQLALCHEMY_DATABASE_URI='mysql+pymysql://superset:@XXXX:3306/superset'
SUPERSET_DATABASE_HOSTNAME='xxxxx'
SUPERSET_DATABASE_NAME='superset'
SUPERSET_DATABASE_PASSWORD=''
SUPERSET_DATABASE_PORT=3306
SUPERSET_DATABASE_TYPE='mysql'
SUPERSET_DATABASE_USER='superset'
SUPERSET_TIMEOUT=60
SUPERSET_WEBSERVER_ADDRESS='0.0.0.0'
SUPERSET_WEBSERVER_PORT=9088
SUPERSET_WORKERS=4
WTF_CSRF_ENABLED=True

**

错误:{“错误”:“连接失败!\ n \ n返回的错误消息是:\ n仅当处于LDAP或CUSTOM模式时,才应设置密码;删除密码或使用其中一种模式“} ------------------------------------------------------------------------

0 个答案:

没有答案