Saulius Valatka created IMPALA-12352:
----------------------------------------

             Summary: Shell kerberos auth broken with python3
                 Key: IMPALA-12352
                 URL: https://issues.apache.org/jira/browse/IMPALA-12352
             Project: IMPALA
          Issue Type: Bug
    Affects Versions: Impala 4.2.0
            Reporter: Saulius Valatka


Impala shell uses a Kerberos host calculated here 
https://github.com/apache/impala/blob/4.2.0/shell/impala_client.py#L420 as:

{{kerb_host = self.kerberos_host_fqdn.split(':')[0].encode('ascii', 'ignore')}}

however this returns a bytes object, which does not propagate correctly to the 
underlying sasl libraries. Adding a {{.decode()}} fixes the problem.



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

Reply via email to