Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2150

Unable to submit Hive jobs using Knox JWTProvider

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • KnoxSSO
    • None

    Description

      While trying to submit Hive Job over JDBC with JWTProvider  ,  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;AllowSelfSignedCerts=1;AllowAllHostNames=1;sslTrustStore=/Users/abc/knox/install/knox-1.3.0/data/security/keystores/gateway.jks;;AuthMech=0;trustStorePassword=knox;transportMode=http;httpPath=gateway/tokenbased/hive;http.header.Authorization=Bearer eyJraWQiOiJp...df"

       

       

      Attachments

        1. image-2019-12-17-19-21-15-150.png
          164 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:
                Resolved: