hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Gumashta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-6621) Beeline backward incompatible change
Date Tue, 11 Mar 2014 20:48:43 GMT
Vaibhav Gumashta created HIVE-6621:
--------------------------------------

             Summary: 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
             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)

Mime
View raw message