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

Add HTTP support to HiveServer2

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • CLI, Server Infrastructure
    • None

    Description

      Add HTTP as endpoint option for HiveServer2. This supports environments for which TCP connectivity is inconvenient or impossible. One key scenario is beeline connecting to a HTTPS proxy/gateway which forwards to HS2-HTTP.
      Due to the proxy/gateway scenario being most secure, support for HS2 HTTPS has not been added.

      new behavior:
      new configuration options to use HTTP server mode rather than TCP
      http mode uses Jetty server/servlets
      new beeline client URI parsing and HTTP transport behavior.

      Usage:
      (1) TCP-mode: beeline> !connect jdbc:hive2://<server>:<port>/ user password

      (2) HTTP-mode: beeline> !connect jdbc:hive2:http://<server>:<port>/path/../ user password

      (3) via HTTPS proxy: beeline> !connect jdbc:hive2:https://<server>:<port>/path/../ user password

      Attachments

        1. HIVE-4026.patch
          20 kB
          Mike Liddell

        Issue Links

          Activity

            People

              mikeliddell Mike Liddell
              mikeliddell Mike Liddell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: