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 DDD96F204 for ; Wed, 24 Apr 2013 02:09:17 +0000 (UTC) Received: (qmail 90383 invoked by uid 500); 24 Apr 2013 02:09:17 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 90309 invoked by uid 500); 24 Apr 2013 02:09:17 -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 90300 invoked by uid 500); 24 Apr 2013 02:09:17 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 90297 invoked by uid 99); 24 Apr 2013 02:09:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 02:09:17 +0000 Date: Wed, 24 Apr 2013 02:09:17 +0000 (UTC) From: "Thejas M Nair (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13639990#comment-13639990 ] Thejas M Nair commented on HIVE-4406: ------------------------------------- [~analog.sony] I am not working on this. Please go ahead with this. > 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 > > When the jdbc uri does not have a / or "/default" after the hostname:port, 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://:" results HS2 embedded mode getting used. > "jdbc:hive2://:/" or "jdbc:hive2://:/default" 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