You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasad Mujumdar (JIRA)" <ji...@apache.org> on 2014/03/26 22:02:15 UTC

[jira] [Resolved] (HIVE-2539) Enable passing username/password via JDBC

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

Prasad Mujumdar resolved HIVE-2539.
-----------------------------------

    Resolution: Implemented

The JDBC driver for HiveServer2 support user/password authentication via JDBC getConnection() API.


> Enable passing username/password via JDBC
> -----------------------------------------
>
>                 Key: HIVE-2539
>                 URL: https://issues.apache.org/jira/browse/HIVE-2539
>             Project: Hive
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions: 0.7.1
>            Reporter: Sriram Krishnan
>            Assignee: chunqing xie
>              Labels: patch
>         Attachments: HIVE-2539.PATCH
>
>
> Changing the username and/or the password seems to have no effect (also confirmed here: https://cwiki.apache.org/Hive/hivejdbcinterface.html). 
>    Connection con = DriverManager.getConnection("jdbc:hive://localhost:10000/default", "", "");
> Would be beneficial to pass the username/password via JDBC - and also for the server to honor the username password being passed (may be dependent of that being fixed first).



--
This message was sent by Atlassian JIRA
(v6.2#6252)