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 1F8FA10A38 for ; Thu, 23 Jan 2014 20:09:42 +0000 (UTC) Received: (qmail 40515 invoked by uid 500); 23 Jan 2014 20:09:40 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 40389 invoked by uid 500); 23 Jan 2014 20:09:40 -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 40381 invoked by uid 500); 23 Jan 2014 20:09:40 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 40376 invoked by uid 99); 23 Jan 2014 20:09:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 20:09:39 +0000 Date: Thu, 23 Jan 2014 20:09:39 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6217) Refactor Beeline's JDBC connection to use property map instead of long url 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-6217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated HIVE-6217: ------------------------------ Attachment: HIVE-6217.1.patch > Refactor Beeline's JDBC connection to use property map instead of long url > -------------------------------------------------------------------------- > > Key: HIVE-6217 > URL: https://issues.apache.org/jira/browse/HIVE-6217 > Project: Hive > Issue Type: Improvement > Components: CLI, JDBC > Affects Versions: 0.12.0 > Reporter: Xuefu Zhang > Assignee: Xuefu Zhang > Attachments: HIVE-6217.1.patch, HIVE-6217.1.patch, HIVE-6217.patch > > > To make a connection to HiverServer2, currently Beeline constructs a long url that contains hiveconf and hivevariables. At JDBC driver side, it parses the url into individual maps. Constructing and decomposing the url is complicated and unnecessary, using a different method from JDBC DriverManager that takes a property map makes the logic simpler, especially when hiveconf and hivevar variables can also come from Beeline command line in addition to those in connection url. > This is identified in and required by HIVE-6173. -- This message was sent by Atlassian JIRA (v6.1.5#6160)