jdbc:phoenix:thin:url=<scheme>://<server-hostname>:<port>;authentication=SPNEGO
示例
jdbc:phoenix:thin:url=<scheme>://<server-hostname>:<port>;authentication=SPNEGO;principal=my_user;keytab=/home/my_user/my_user.keytab
CDH PQS的相关设置
https://docs.cloudera.com/documentation/enterprise/6/6.2/topics/phoenix_configuring_pqs.html
kerberos 401:https://serverfault.com/questions/470323/kerberos-authentication-failing-with-401
https://github.com/apache/phoenix/tree/master/python/requests-kerberos
https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cdh_sg_hbase_authentication.html
手机扫一扫
移动阅读更方便
你可能感兴趣的文章