Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Cannot Reproduce
-
0.13.0
Description
There is a backward incompatible change that's gone into beeline somehow. Previously, you could connect using the connection string:
!connect jdbc:hive2://localhost:10000 <username> <password> org.apache.hive.jdbc.HiveDriver;
which isn't the case now:
Beeline version 0.13.0 by Apache Hive beeline> !connect jdbc:hive2://localhost:10000 vgumashta vgumashta org.apache.hive.jdbc.HiveDriver; Connecting to jdbc:hive2://localhost:10000 org/apache/hive/jdbc/HiveDriver; 0: jdbc:hive2://localhost:10000> show tables; org/apache/hive/jdbc/HiveDriver; No current connection
However, removing either username or password, lets you log in:
Beeline version 0.13.0 by Apache Hive beeline> !connect jdbc:hive2://localhost:10000 vgumashta org.apache.hive.jdbc.HiveDriver; scan complete in 3ms Connecting to jdbc:hive2://localhost:10000 Connected to: Apache Hive (version 0.13.0) Driver: Hive JDBC (version 0.13.0) Transaction isolation: TRANSACTION_REPEATABLE_READ 0: jdbc:hive2://localhost:10000> show tables; +-------------------------+ | tab_name | +-------------------------+ | customer | | customer_address | | customer_demographics | | date_dim | | household_demographics | | item | | promotion | | store | | store_returns | | store_sales | | time_dim | +-------------------------+ 11 rows selected (0.111 seconds)