Reply
New Contributor
Posts: 1
Registered: ‎03-12-2017

Error when Connecting Load Balancer with Impyla

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'

 

 

Explorer
Posts: 8
Registered: ‎11-05-2018

Re: Error when Connecting Load Balancer with Impyla

Any solution for this problem?

Highlighted
Explorer
Posts: 8
Registered: ‎11-05-2018

Re: Error when Connecting Load Balancer with Impyla

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. 

Announcements