Alexandre Linte created HIVE-13950:
--------------------------------------
Summary: Beeline: infinite loop during the connection to as remote
hiveserver2
Key: HIVE-13950
URL: https://issues.apache.org/jira/browse/HIVE-13950
Project: Hive
Issue Type: Bug
Components: Beeline
Affects Versions: 2.0.1, 2.0.0
Environment: Hadoop 2.7.2, Hive 2.0.1, Tez 0.8.3, Kerberos V
Reporter: Alexandre Linte
>From a hive client machine, I can use beeline to connect to a remote
>Hiveserver2. The connection is secured with Kerberos.
During the connection process, I have an infinite loop when a username is
entered. The loop prints "Enter username for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:"
and only stops if the user pushes down "enter" on its keyboard.
{noformat}
[shfs3453@hive-cli01 workspace]$ beeline
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/opt/application/Hive/apache-hive-2.0.1-bin/lib/hive-jdbc-2.0.1-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/opt/application/Hive/apache-hive-2.0.1-bin/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/opt/application/Spark/spark-1.6.1/hive/assembly/spark-assembly-1.4.1-hadoop2.7.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/opt/application/Hadoop/hadoop-2.7.2/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Beeline version 2.0.1 by Apache Hive
beeline> !connect
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]
Connecting to
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]
Enter username for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Enter password for
jdbc:hive2://hiveserver2.bigdata.fr:10000/shfs3453;principal=hiveserver2/[email protected]:
Jun 06 14:46:53 beeline INFO - org.apache.hive.jdbc.UtilsSupplied authorities:
hiveserver2.bigdata.fr:10000
Jun 06 14:46:53 beeline INFO - org.apache.hive.jdbc.UtilsResolved authority:
hiveserver2.bigdata.fr:10000
Connected to: Apache Hive (version 2.0.1)
Driver: Hive JDBC (version 2.0.1)
Jun 06 14:46:55 beeline WARN - org.apache.hive.jdbc.HiveConnectionRequest to
set autoCommit to false; Hive does not support autoCommit=false.
Transaction isolation: TRANSACTION_REPEATABLE_READ
0: jdbc:hive2://hiveserver2.bigdata.fr>
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)