Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error when Connecting Load Balancer with Impyla

Highlighted

Error when Connecting Load Balancer with Impyla

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

Re: Error when Connecting Load Balancer with Impyla

Explorer

Any solution for this problem?

Re: Error when Connecting Load Balancer with Impyla

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.