Hive
  1. Hive
  2. HIVE-6217

Refactor Beeline's JDBC connection to use property map instead of long url

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: CLI, JDBC
    • Labels:
      None

      Description

      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.

      1. HIVE-6217.1.patch
        4 kB
        Prasad Mujumdar
      2. HIVE-6217.1.patch
        4 kB
        Xuefu Zhang
      3. HIVE-6217.1.patch
        4 kB
        Xuefu Zhang
      4. HIVE-6217.patch
        3 kB
        Xuefu Zhang

        Issue Links

          Activity

            People

            • Assignee:
              Xuefu Zhang
              Reporter:
              Xuefu Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development