You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Arpan (JIRA)" <ji...@apache.org> on 2015/11/25 12:37:11 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=15026655#comment-15026655 ]
Arpan commented on HIVE-11653:
------------------------------
For now workaround is : pass -p "" argument. You will not need to enter the username and password.
$> beeline
WARNING: Use "yarn jar" to launch YARN applications.
Beeline version 1.2.1.2.3.2.0-2950 by Apache Hive
*beeline> !connect jdbc:hive2://<hiveserver>:10000/default;principal=hive/<hiveserver>@<KDC_Realm> -p ""*
Connecting to jdbc:hive2://<hiveserver>:10000/default;principal=hive/<hiveserver>@<KDC_Realm>
Connected to: Apache Hive (version 1.2.1.2.3.2.0-2950)
Driver: Hive JDBC (version 1.2.1.2.3.2.0-2950)
Transaction isolation: TRANSACTION_REPEATABLE_READ
0: jdbc:hive2://<hiveserver>> show databases;
| database_name |
| default |
1 row selected (0.299 seconds)
> 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)