Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Error when Connecting Load Balancer with Impyla

avatar
New Contributor

I am using python shell to connect to with impala with Cloudera Impyla (github.com/cloudera/impyla)

 

 

After I am using kinit command, I start to connect inside python session with following command and get the following error. Please advice. Thanks

 

 

from impala.dbapi import connect

con = connect(host=<IMPALA_LOAD_BALANCER_NODE>, port=25003, auth_mechanism="GSSAPI", use_ssl=True).cursor()

TApplicationException: Invalid method name: 'OpenSession'

 

 

2 REPLIES 2

avatar
Explorer

Any solution for this problem?

avatar
Explorer

Also - please try with impala-shell port (e.g. 21051). It looks like 25003 for load balancer is used for external connections thru ODBC and 21051 for impala-shell connections.