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

JDBC: Provide an option to simplify beeline usage by supporting default and named URL for beeline

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Beeline
    • Labels:
      None

      Description

      Currently, after opening Beeline CLI, the user needs to supply a connection string to use the HS2 instance and set up the jdbc driver. Since we plan to replace Hive CLI with Beeline in future (HIVE-10511), it will help the usability if the user can simply type beeline and get start the hive session. The jdbc url can be specified in a beeline-site.xml (which can contain other named jdbc urls as well, and they can be accessed by something like: beeline -c namedUrl. The use of beeline-site.xml can also be potentially expanded later if needed.

        Attachments

        1. HIVE-18963.1.patch
          18 kB
          Vaibhav Gumashta
        2. HIVE-18963.2.patch
          48 kB
          Vaibhav Gumashta
        3. HIVE-18963.3.patch
          48 kB
          Vaibhav Gumashta

          Issue Links

            Activity

              People

              • Assignee:
                vgumashta Vaibhav Gumashta
                Reporter:
                vgumashta Vaibhav Gumashta
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: