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

JDBC: Provide a way for JDBC users to pass cookie info via connection string

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • JDBC
    • None
    • Reviewed

    Description

      Some authentication mechanisms like Single Sign On, need the ability to pass a cookie to some intermediate authentication service like Knox via the JDBC driver. We need to add the mechanism in Hive's JDBC driver (when used in HTTP transport mode).

      Cookies can now be passed like:

      jdbc:hive2://<host>:<port>/<db>;transportMode=http;httpPath=<http_endpoint>;http.cookie.<name1>=<value1>;http.cookie.<name2>=<value2>
      

      Attachments

        1. HIVE-18447.1.patch
          16 kB
          Vaibhav Gumashta
        2. HIVE-18447.2.patch
          17 kB
          Vaibhav Gumashta

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vgumashta Vaibhav Gumashta Assign to me
            vgumashta Vaibhav Gumashta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment