You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2014/03/11 21:52:50 UTC
[jira] [Updated] (HIVE-6621) Beeline backward incompatible change
[ https://issues.apache.org/jira/browse/HIVE-6621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vaibhav Gumashta updated HIVE-6621:
-----------------------------------
Labels: backward-incompatible (was: )
> Beeline backward incompatible change
> ------------------------------------
>
> Key: HIVE-6621
> URL: https://issues.apache.org/jira/browse/HIVE-6621
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2, JDBC
> Affects Versions: 0.13.0
> Reporter: Vaibhav Gumashta
> Priority: Blocker
> Labels: backward-incompatible
> Fix For: 0.13.0
>
>
> There is a backward incompatible change that's gone into beeline somehow. Previously, you could connect using the connection string:
> {code}
> !connect jdbc:hive2://localhost:10000 <username> <password> org.apache.hive.jdbc.HiveDriver;
> {code}
> which isn't the case now:
> {code}
> 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
> {code}
> However, removing either username or password, lets you log in:
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)