You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lars Francke (JIRA)" <ji...@apache.org> on 2015/08/26 18:52:46 UTC

[jira] [Commented] (HIVE-11653) Beeline asks for password even when connecting with Kerberos

    [ https://issues.apache.org/jira/browse/HIVE-11653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14714510#comment-14714510 ] 

Lars Francke commented on HIVE-11653:
-------------------------------------

I think I'd like to take a stab at this if it's alright with you? I've been annoyed by this ever since beeline was introduced :)

We need to make a decision on what we want to do though.

We could just ignore it if a user doesn't provide username and password. If Hive is configured to accept it it'll fail with an authentication error anyway. On the other hand it provides a way to not pass in the password in a way that ends up in the history or on screen.

Any ideas on how to best handle this?

> Beeline asks for password even when connecting with Kerberos
> ------------------------------------------------------------
>
>                 Key: HIVE-11653
>                 URL: https://issues.apache.org/jira/browse/HIVE-11653
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 0.14.0
>         Environment: Kerberos and Hive
>            Reporter: Loïc C. Chanel
>
> When connecting to HiveServer via Beeline, Beeline asks for a password even if Kerberos is enabled and there is a ticket in cache (kinit have been successfully executed, as klist shows the ticket is in cache).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)