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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • CLI, JDBC
    • 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 Suresh 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

              xuefuz Xuefu Zhang
              xuefuz Xuefu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: