[ 
https://issues.apache.org/jira/browse/IMPALA-12552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Smith updated IMPALA-12552:
-----------------------------------
    Priority: Critical  (was: Major)

> impala-shell should not call encode on kerberos_host_fqdn in python 3 env
> -------------------------------------------------------------------------
>
>                 Key: IMPALA-12552
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12552
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 4.3.0
>            Reporter: Gergely Farkas
>            Assignee: Gergely Farkas
>            Priority: Critical
>              Labels: impala-shell
>             Fix For: Impala 4.4.0
>
>
> This is a python 3 compatibility problem: 
> In Pyhton 2, the sasl layer does not accept unicode strings, so we have to 
> explicitly encode the kerberos_host_fqdn string to ascii. However, this is 
> not the case in python 3, where we have to omit the encode, because if we 
> don't do this, impala-shell wants to use the following service principal 
> during Kerberos auth: 
> {noformat}
> my_service_name/b'my.kerberos.host.fqdn'@MY.REALM{noformat}
> instead of the correct one, which is:
> {noformat}
> my_service_name/my.kerberos.host.fqdn@MY.REALM{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to