[ https://issues.apache.org/jira/browse/HIVE-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948455#comment-13948455 ]
Prasad Mujumdar commented on HIVE-2539: --------------------------------------- [~qwertymaniac] Thanks for bringing that up. HiveServer2 and it's JDBC driver support multiple authentication mechanisms. I will go ahead and close the issue. [~mac.had...@gmail.com] and [~xcqnoah] Just in case, if you are still interested in submitting the patch for old HiveServer, please feel free to reopen the ticket. Thanks! > 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)