[
https://issues.apache.org/jira/browse/PHOENIX-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth resolved PHOENIX-5761.
----------------------------------
Resolution: Fixed
Fixed in phoenix-queryserver.
Thanks for the review [~elserj]
> sqlline-thin kerberos logic too aggressive
> ------------------------------------------
>
> Key: PHOENIX-5761
> URL: https://issues.apache.org/jira/browse/PHOENIX-5761
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 5.1.0, 4.16.0
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The kerberos login in logic in SqllineWrapper.java tries to read the hbase
> configuration, and tries to log in into kerberos if it decides that the HBase
> instance is kerberized.
> While this is fine in many use cases, it causes unintended failures in at
> least the following cases:
> * When trying to connect via Knox, which usually does not use kerberos
> * When trying to connect to a a PQS that is not using the same HBase config
> as the current host.
> This is true even if the user explicitly specifies BASIC authentication.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)