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

Unable to pass Bearer Token in http.header.Authorization in JDBC Header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Beeline
    • None

    Description

      While trying to submit Hive Job over JDBC  ,  I faced 2 issues

      1. Space not supported between "Bearer ey.."
      2. if we remove space then http Authorization header is overwritten by default Basic token .

       

      beeline -u "jdbc:hive2://localhost:8443/;ssl=true;sslTrustStore=/Users/abc/knox/install/knox-1.3.0/data/security/keystores/gateway.jks;trustStorePassword=xxxx;transportMode=http;httpPath=gateway/tokenbased/hive;http.header.Authorization=Bearer eyJraWQiOiJp...df"

      Attachments

        1. image-2019-12-17-19-24-42-228.png
          156 kB
          Neeraj Verma

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nxverma Neeraj Verma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: