You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2014/03/26 08:43:15 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=13947632#comment-13947632 ]
Harsh J commented on HIVE-2539:
-------------------------------
This should no longer be an issue with the new jdbc:hive2 drivers.
> 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)