hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6180) Hive JDBC Driver connection fail when no default database passed in the connection string
Date Fri, 17 Jan 2014 18:10:19 GMT

     [ https://issues.apache.org/jira/browse/HIVE-6180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xuefu Zhang updated HIVE-6180:
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.13.0
           Status: Resolved  (was: Patch Available)

Patch committed to trunk. Thanks to Prasad.

> Hive JDBC Driver connection fail when no default database passed in the connection string
> -----------------------------------------------------------------------------------------
>
>                 Key: HIVE-6180
>                 URL: https://issues.apache.org/jira/browse/HIVE-6180
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 0.13.0
>            Reporter: Sravya Tirukkovalur
>            Assignee: Prasad Mujumdar
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6180.1.patch, HIVE-6180.2.patch
>
>
> Connection fails with connection url "jdbc:hive2://hostname:port" without dbname after
Hive-4256. There is a check in jdbc/HiveConnection.java : 
> {noformat}
> if(dbName!=null)
>   stmt.execute("use "+dbName);
> {noformat}
> But looks like dbName is "" instead of null.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message