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 82DD4FB43 for ; Fri, 10 May 2013 06:59:20 +0000 (UTC) Received: (qmail 22546 invoked by uid 500); 10 May 2013 06:59:19 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 22311 invoked by uid 500); 10 May 2013 06:59: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 20867 invoked by uid 500); 10 May 2013 06:59:17 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 20822 invoked by uid 99); 10 May 2013 06:59:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 May 2013 06:59:16 +0000 Date: Fri, 10 May 2013 06:59:16 +0000 (UTC) From: "Anandha L Ranganathan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4406) Missing "/" or "/" in hs2 jdbc uri switches mode to embedded mode 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-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anandha L Ranganathan updated HIVE-4406: ---------------------------------------- Attachment: (was: hive_4406.patch) > Missing "/" or "/" in hs2 jdbc uri switches mode to embedded mode > ------------------------------------------------------------------------- > > Key: HIVE-4406 > URL: https://issues.apache.org/jira/browse/HIVE-4406 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Reporter: Thejas M Nair > Assignee: Anandha L Ranganathan > Attachments: hive-4406.patch > > > When the jdbc uri does not have a / or "/default" after the hostname:port, and the principal is specified, it ends up launching HS2 in embedded mode. > This is because the parsing of uri in such case does not end up extracting the hostname. > eg . "jdbc:hive2://:;principal=<>." results HS2 embedded mode getting used. > "jdbc:hive2://:/;principal=<>" or "jdbc:hive2://:/default;principal=<>" results in it connecting to the standalone hive server 2. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira