[
https://issues.apache.org/jira/browse/IMPALA-13746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Csaba Ringhofer updated IMPALA-13746:
-------------------------------------
Description:
Found this while checking if impyla fix
https://github.com/cloudera/impyla/pull/562 is also relevant for impala-shell.
To reproduce:
{code}
python shell/impala_shell.py --protocol=hs2-http --ldap
--ldap_password_cmd="echo verylongpasswordthatcreatesalongbasic64encodin"
--auth_creds_ok_in_clear
2025-02-10 15:21:30 [Exception] type=<class 'ValueError'> in OpenSession. Num
remaining tries: 3 Invalid header value b'Basic
Y3NyaW5naG9mZXI6dmVyeWxvbmdwYXNzd29yZHRoYXRjcmVhdGVzYWxvbmdiYXNpYzY0ZW5jb2Rp\nbgo='
{code}
The problem comes from the \n added during base64 encoding.
was:
Found this while checking if impyla fix
https://github.com/cloudera/impyla/pull/562 is also relevant for impala-shell.
To reproduce:
{close}
python shell/impala_shell.py --protocol=hs2-http --ldap
--ldap_password_cmd="echo verylongpasswordthatcreatesalongbasic64encodin"
--auth_creds_ok_in_clear
2025-02-10 15:21:30 [Exception] type=<class 'ValueError'> in OpenSession. Num
remaining tries: 3 Invalid header value b'Basic
Y3NyaW5naG9mZXI6dmVyeWxvbmdwYXNzd29yZHRoYXRjcmVhdGVzYWxvbmdiYXNpYzY0ZW5jb2Rp\nbgo='
{code}
The problem comes from the \n added during base64 encoding.
> impala-shell handles long ldap passwords incorrectly
> ----------------------------------------------------
>
> Key: IMPALA-13746
> URL: https://issues.apache.org/jira/browse/IMPALA-13746
> Project: IMPALA
> Issue Type: Bug
> Components: Clients
> Reporter: Csaba Ringhofer
> Priority: Critical
>
> Found this while checking if impyla fix
> https://github.com/cloudera/impyla/pull/562 is also relevant for impala-shell.
> To reproduce:
> {code}
> python shell/impala_shell.py --protocol=hs2-http --ldap
> --ldap_password_cmd="echo verylongpasswordthatcreatesalongbasic64encodin"
> --auth_creds_ok_in_clear
> 2025-02-10 15:21:30 [Exception] type=<class 'ValueError'> in OpenSession. Num
> remaining tries: 3 Invalid header value b'Basic
> Y3NyaW5naG9mZXI6dmVyeWxvbmdwYXNzd29yZHRoYXRjcmVhdGVzYWxvbmdiYXNpYzY0ZW5jb2Rp\nbgo='
> {code}
> The problem comes from the \n added during base64 encoding.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]