Support Questions

Find answers, ask questions, and share your expertise
Announcements
Now Live: Explore expert insights and technical deep dives on the new Cloudera Community BlogsRead the Announcement

Who agreed with this topic

connect kerberozied cluster from impyla in windows machine

avatar
Rising Star

Hi, 

 

I would like to use impyla with PyCharm in Windows machine. I act as the following:

 

1. kinit using MIT kerberos for Windows. confirm that it is the proper principal.

2. set %JAVA_HOME%\jre\bin\security\krb5.ini with proper realm and kdc.

3. pip install impyla

4. start PyCharm python console.

5. run the following script:

from impala.dbapi import connect
from impala.util import as_pandas

# Impala
conn = connect(host='192.168.53.121', port=21050, auth_mechanism='GSSAPI')

However, it throw the exception:

TTransportException: Could not start SASL: None of the mechanisms listed meet all required properties

 

Thanks.

Who agreed with this topic