Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59D8C10D04 for ; Wed, 26 Mar 2014 21:00:27 +0000 (UTC) Received: (qmail 77639 invoked by uid 500); 26 Mar 2014 21:00:20 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 77590 invoked by uid 500); 26 Mar 2014 21:00:19 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 77570 invoked by uid 500); 26 Mar 2014 21:00:18 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 77563 invoked by uid 99); 26 Mar 2014 21:00:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2014 21:00:18 +0000 Date: Wed, 26 Mar 2014 21:00:17 +0000 (UTC) From: "Prasad Mujumdar (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-2539) Enable passing username/password via JDBC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.hadoop@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)