hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunther Hagleitner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5434) Creating a new HiveConnection does not handle the case when properties are supplied separately from connection string
Date Wed, 12 Nov 2014 20:40:45 GMT

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

Gunther Hagleitner updated HIVE-5434:
-------------------------------------
    Fix Version/s:     (was: 0.14.0)

> Creating a new HiveConnection does not handle the case when properties are supplied separately
from connection string 
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-5434
>                 URL: https://issues.apache.org/jira/browse/HIVE-5434
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.13.0
>            Reporter: Vaibhav Gumashta
>
> While creating a new connection: HiveConnection(String uri, Properties info), the Properties
hash can also be used to specify connection properties. When username / password is specified
in Properties, the current logic uses that, w/o checking the values in connection string.
However, a comment in the code says it should not be like that:
> // extract user/password from JDBC connection properties if its not supplied in the connection
URL
> Also, it is possible for Properties to contain other keys and they should be handled
properly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message