You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Neeraj Verma (Jira)" <ji...@apache.org> on 2019/12/18 02:40:00 UTC
[jira] [Updated] (HIVE-22655) Unable to pass Bearer Token in
http.header.Authorization in JDBC Header
[ https://issues.apache.org/jira/browse/HIVE-22655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neeraj Verma updated HIVE-22655:
--------------------------------
Description:
While trying to submit Hive Job over JDBC , I faced 2 issues
# Space not supported between "{{Bearer ey.."}}
# {{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"}}
was:
While trying to submit Hive Job over JDBC , I faced 2 issues
# Space not supported between "{{Bearer ey.."}}
# {{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=knox;transportMode=http;httpPath=gateway/tokenbased/hive;http.header.Authorization=Bearer eyJraWQiOiJp...df"}}
> Unable to pass Bearer Token in http.header.Authorization in JDBC Header
> ------------------------------------------------------------------------
>
> Key: HIVE-22655
> URL: https://issues.apache.org/jira/browse/HIVE-22655
> Project: Hive
> Issue Type: Bug
> Components: Beeline
> Reporter: Neeraj Verma
> Priority: Major
>
> While trying to submit Hive Job over JDBC , I faced 2 issues
> # Space not supported between "{{Bearer ey.."}}
> # {{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"}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)