You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "chunqing xie (Commented) (JIRA)" <ji...@apache.org> on 2012/02/10 15:12:59 UTC

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

    [ https://issues.apache.org/jira/browse/HIVE-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205466#comment-13205466 ] 

chunqing xie commented on HIVE-2539:
------------------------------------

DriverManager.getConnection() with username/password or without username/password are both tested.
                
> 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
>              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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira