Gergely Farkas has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20691


Change subject: IMPALA-12552: Fix Kerberos authentication issue that occurs in 
python 3 environment when kerberos_host_fqdn option is used
......................................................................

IMPALA-12552: Fix Kerberos authentication issue that occurs
in python 3 environment when kerberos_host_fqdn option is used

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:
my_service_name/b'my.kerberos.host.fqdn'@MY.REALM
instead of the correct one, which is:
my_service_name/[email protected]

Tested with a snapshot build manually in CDP PVC DS.

Change-Id: I8b157d76824ad67faf531a529256a8afe2ab9d49
---
M shell/impala_client.py
1 file changed, 9 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/91/20691/1
--
To view, visit http://gerrit.cloudera.org:8080/20691
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b157d76824ad67faf531a529256a8afe2ab9d49
Gerrit-Change-Number: 20691
Gerrit-PatchSet: 1
Gerrit-Owner: Gergely Farkas <[email protected]>

Reply via email to