hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-6217) Refactor Beeline's JDBC connection to use property map instead of long url
Date Thu, 16 Jan 2014 20:15:19 GMT
Xuefu Zhang created HIVE-6217:
---------------------------------

             Summary: 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


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)

Mime
View raw message