You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2020/03/09 09:15:00 UTC

[jira] [Updated] (PHOENIX-5761) sqlline-thin kerberos logic too aggressive

     [ https://issues.apache.org/jira/browse/PHOENIX-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Istvan Toth updated PHOENIX-5761:
---------------------------------
    Description: 
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.

> 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
>            Priority: Major
>
> 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)