Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6217

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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.

        Attachments

        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:
                xuefuz Xuefu Zhang
                Reporter:
                xuefuz Xuefu Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: