thin 客户端的实例代码
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://community.cloudera.com/t5/Support-Questions/Phoenix-Query-Server-Connection-URL-example/td-p/147474
https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cdh_sg_hbase_authentication.html